mirror of
https://github.com/ChronosX88/Influence.git
synced 2024-11-08 19:50:59 +00:00
Fixed issue when logout and login on one app run
This commit is contained in:
parent
ba86adbc78
commit
8e31c37571
@ -120,6 +120,7 @@ public class XMPPConnection implements ConnectionListener {
|
||||
roster = roster.getInstanceFor(connection);
|
||||
roster.setSubscriptionMode(Roster.SubscriptionMode.accept_all);
|
||||
roster.addPresenceEventListener(networkHandler);
|
||||
AppHelper.setJid(credentials.username + "@" + credentials.jabberHost);
|
||||
mamManager = MamManager.getInstanceFor(connection);
|
||||
try {
|
||||
if(mamManager.isSupported()) {
|
||||
|
Loading…
Reference in New Issue
Block a user