diff options
author | Michael <betheg@bitcloner.org> | 2014-11-23 15:19:07 +0100 |
---|---|---|
committer | Michael <betheg@bitcloner.org> | 2014-11-23 15:19:07 +0100 |
commit | bdfdc5fb1030b3ae49c43b8872476cae0ad89081 (patch) | |
tree | 8d5231f09e50c30b95dc865ca2299d286a332cba /src/main/java | |
parent | 49403fda8410315b34677ebfa2e29f59a61f76bd (diff) |
MUC: do not add yourself to the muc user list.
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/MucOptions.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/MucOptions.java b/src/main/java/eu/siacs/conversations/entities/MucOptions.java index 065b6ee4..beb9612d 100644 --- a/src/main/java/eu/siacs/conversations/entities/MucOptions.java +++ b/src/main/java/eu/siacs/conversations/entities/MucOptions.java @@ -190,6 +190,8 @@ public class MucOptions { this.onJoinListener.onSuccess(); this.onJoinListener = null; } + } else if (packet.getFrom().equals(this.conversation.getContactJid())) { + self = user; } else { addUser(user); } |