use auto register for verify otr listeners

This commit is contained in:
iNPUTmice 2014-11-11 17:42:09 +01:00
parent 76f4cf1a73
commit d1bf9a3f6d
1 changed files with 0 additions and 9 deletions

View File

@ -164,7 +164,6 @@ public class VerifyOTRActivity extends XmppActivity implements XmppConnectionSer
if (handleIntent(getIntent())) { if (handleIntent(getIntent())) {
updateView(); updateView();
} }
this.xmppConnectionService.setOnConversationListChangedListener(this);
} }
protected void updateView() { 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 @Override
public void onConversationUpdate() { public void onConversationUpdate() {
runOnUiThread(new Runnable() { runOnUiThread(new Runnable() {