How does Tigaese client handle rooms?

Martin Alderson
Added almost 3 years ago

How does this client handle rooms?

Replies (1)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam almost 3 years ago

In library there is MucModule which is responsible for creation/destruction of Room instance locally. Interaction with MUC room is done by calling methods on Room instance, ie. @rejoin()@, @sendMessage()@.

When client receives message from MUC room then event is fired which you should receive. In fact for most actions which are related to MUC room one of events existings inside MucModule is fired.

Yesterday I pushed changed to TigaseSwift library with documentation for classes and methods, so I would suggest to checkout recent changes from our Git repository.