mirror of
https://github.com/ChronosX88/Influence.git
synced 2024-11-23 10:02:18 +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 = roster.getInstanceFor(connection);
|
||||||
roster.setSubscriptionMode(Roster.SubscriptionMode.accept_all);
|
roster.setSubscriptionMode(Roster.SubscriptionMode.accept_all);
|
||||||
roster.addPresenceEventListener(networkHandler);
|
roster.addPresenceEventListener(networkHandler);
|
||||||
|
AppHelper.setJid(credentials.username + "@" + credentials.jabberHost);
|
||||||
mamManager = MamManager.getInstanceFor(connection);
|
mamManager = MamManager.getInstanceFor(connection);
|
||||||
try {
|
try {
|
||||||
if(mamManager.isSupported()) {
|
if(mamManager.isSupported()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user