diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-12-16 22:38:45 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-12-16 22:38:45 +0100 |
commit | fa351734ecf1f3219f8a83603368e36636926951 (patch) | |
tree | c44891c14fa7beadf245f558ad1112f0edb15579 /src/main/java/de/pixart/messenger/ui/ConversationFragment.java | |
parent | 090faad3743ca7134a0ce398a9d2b62d84477e86 (diff) |
try to detect invalid nick (w/ emoji) in MUCs
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationFragment.java | 2 |
1 files changed, 2 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 5413dcf6f..c37c5cee7 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java @@ -1144,6 +1144,8 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa activity.xmppConnectionService.joinMuc(conversation); //showSnackbar(R.string.conference_unknown_error, R.string.try_again, joinMuc); break; + case INVALID_NICK: + showSnackbar(R.string.invalid_muc_nick, R.string.edit, clickToMuc); case SHUTDOWN: showSnackbar(R.string.conference_shutdown, R.string.try_again, joinMuc); break; |