Browse Source

Fix issue with conversation favorites

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 6 years ago
parent
commit
f3a32f8f6d

+ 1 - 1
app/src/main/java/com/nextcloud/talk/controllers/bottomsheet/CallMenuController.java

@@ -210,7 +210,7 @@ public class CallMenuController extends BaseController implements FlexibleAdapte
                     conversation.setPassword("");
                     conversation.setPassword("");
                 }
                 }
 
 
-                if (tag > 0 && tag < 11) {
+                if (tag > 0) {
                     bundle.putInt(BundleKeys.KEY_OPERATION_CODE, tag);
                     bundle.putInt(BundleKeys.KEY_OPERATION_CODE, tag);
                     if (tag != 2 && tag != 4 && tag != 6 && tag != 7) {
                     if (tag != 2 && tag != 4 && tag != 6 && tag != 7) {
                         eventBus.post(new BottomSheetLockEvent(false, 0, false, false));
                         eventBus.post(new BottomSheetLockEvent(false, 0, false, false));