Receiving D-Bus messages from the past on a MUC D-Bus tube
Submitted by Alban Crequy
Assigned to Telepathy bugs list
Description
When I join a MUC channel, I get the last few messages sent by people when I was not there because theses messages are stored by the MUC server, so that it can send them to me.
According to http://telepathy.freedesktop.org/xmpp/muc-bytestream.html D-Bus messages are encapsuled in a stanza. So they are also saved by the server.
I use telepathy-python/examples/tube-dbus-muc.py to test this:
- launch the initiator
- wait until a few signals "Hello" are emitted
- launch the client
- the client receives all signals emitted before the client join the chatroom.
So the client receives D-Bus messages from the past.
It sounds undesirable. On the client, Gabble should drop messages containing D-Bus messages if they are sent before the client join the chatroom.