Hi, so quoting from the MIX spec > MIX messages are distributed by the channel with the from using the JID of > the channel, with the Stable Participant ID of the sender in the resource. > This enables a receiving system to distinguish messages based on sender using > only the JID.
It is clearly a goal that a client can do something relatively useful just by looking at the from JID. However it would be nice to also figure out by looking at the JID if that message might be a reflection or a message from ourself. (For example in my code I try to branch of the reflection handling code rather early) However right now it feels rather complicated to get a hold ouf our own participant ID. ¹ I think it would be useful if on join the MIX channel could communicate our participant ID back to us and then PAM could put it in the roster as a child of the MIX annotation. cheers Daniel ¹ Yes I know how to. But i think there is a value in making message handling / reflection handling work without ever requesting or subscribing to the participants node. _______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
