I have a chat bot operating in a multi-user conference room, and a received message looks something like this:
In this room, users are free to use whatever nickname they want. Their nickname does not have to be anything remotely resembling the username they used to log on to the server. However, I need their actual username to perform some operations on. Is it possible for me to extract their actual username when a message is sent? I had no trouble doing this using xmpppy (python jabber library) so I'm assuming it's possible, I just haven't figured it out yet. Thanks.