use auto register for verify otr listeners

iNPUTmice created

Change summary

src/main/java/eu/siacs/conversations/ui/VerifyOTRActivity.java | 9 ----
1 file changed, 9 deletions(-)

Detailed changes

src/main/java/eu/siacs/conversations/ui/VerifyOTRActivity.java 🔗

@@ -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() {