diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-01-27 23:23:57 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-01-27 23:23:57 +0100 |
commit | 4afd76cc04e07cca60420d5ddfcae19de2125613 (patch) | |
tree | 2a4e89ad4d8d8acd02d923870f8fc4d436c5f2e8 /src/main/java/de | |
parent | 3dfbf916c6c575a287ca663759f6d8c7e309e6af (diff) |
show snackbar if you are not participating a group chat to clearify this for new users
Diffstat (limited to 'src/main/java/de')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationFragment.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java index e24f87d02..bdf36c8aa 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java @@ -1155,6 +1155,9 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa hideSnackbar(); break; } + } else if ((mode == Conversation.MODE_MULTI + && !conversation.getMucOptions().participating())) { + showSnackbar(R.string.no_write_access_in_public_muc, R.string.ok, clickToMuc); } else if (account.hasPendingPgpIntent(conversation)) { showSnackbar(R.string.openpgp_messages_found, R.string.decrypt, clickToDecryptListener); } else if (mode == Conversation.MODE_SINGLE |