From bdfdc5fb1030b3ae49c43b8872476cae0ad89081 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 23 Nov 2014 15:19:07 +0100 Subject: MUC: do not add yourself to the muc user list. --- src/main/java/eu/siacs/conversations/entities/MucOptions.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/eu/siacs/conversations/entities') 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); } -- cgit v1.2.3