You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In same case if I want the message sender avatar. How to get that in group chat?
Basically in my group chat I can get the avatar from XMPPUserCoreDataStorageObject this is only if sender is in my roster list. But in my case the sender may be added to group by some one so he may be not in my friend list. so can you please help in this to get the user avatar who are not in my roster list .
When I have joined a MUC room with XMPPFramwork I receive new messages via the delegate method:
How can I get the nickname of the user who send the message?
I tried
message.from().user
but this did not print the nickname.I now use
message.fromStr())!.lastPathComponent!
but this feels very wrong.Any better way to do this?
The text was updated successfully, but these errors were encountered: