These properties have been succesfully set and are also visible in console.
I joined random public channel.
I sent some messages.
Member and current user on picture below have same Sid (are same users).
As you can see, attributes for class Member are empty.
Attributes for class User have value.
I would expect that attributes for these two classes would be same.
It does not matter if I get Member reference from Message or Channel.
Attributes always return emtpy dict.
Member and user are separate entities. Member is per-channel entity, you might want have different attributes across different channels for the same user, but users are unique for a given service instance.
Firstly I set some attributes for current user.
These properties have been succesfully set and are also visible in console.
I joined random public channel. I sent some messages.
Member and current user on picture below have same Sid (are same users). As you can see, attributes for class Member are empty. Attributes for class User have value.
I would expect that attributes for these two classes would be same.
It does not matter if I get Member reference from Message or Channel. Attributes always return emtpy dict.
Attributes test3 = channel.getMembers().getMember(message.getAuthor()).getAttributes();