mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42:15 -05:00
use auto register for verify otr listeners
This commit is contained in:
parent
76f4cf1a73
commit
d1bf9a3f6d
@ -164,7 +164,6 @@ public class VerifyOTRActivity extends XmppActivity implements XmppConnectionSer
|
||||
if (handleIntent(getIntent())) {
|
||||
updateView();
|
||||
}
|
||||
this.xmppConnectionService.setOnConversationListChangedListener(this);
|
||||
}
|
||||
|
||||
protected void updateView() {
|
||||
@ -273,14 +272,6 @@ public class VerifyOTRActivity extends XmppActivity implements XmppConnectionSer
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onStop() {
|
||||
if (xmppConnectionServiceBound) {
|
||||
xmppConnectionService.removeOnConversationListChangedListener();
|
||||
}
|
||||
super.onStop();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onConversationUpdate() {
|
||||
runOnUiThread(new Runnable() {
|
||||
|
Loading…
Reference in New Issue
Block a user