diff --git a/app/src/main/java/com/nextcloud/talk/controllers/RoomMenuController.java b/app/src/main/java/com/nextcloud/talk/controllers/RoomMenuController.java index 58987b318..523896e4b 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/RoomMenuController.java +++ b/app/src/main/java/com/nextcloud/talk/controllers/RoomMenuController.java @@ -121,7 +121,7 @@ public class RoomMenuController extends BaseController implements FlexibleAdapte @Override public boolean onItemClick(int position) { - if (menuItems.size() > position) { + if (menuItems.size() > position && position != 0) { MenuItem menuItem = (MenuItem) menuItems.get(position); }