diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-06-14 17:11:31 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-06-14 21:29:20 +0200 |
commit | 7099c55a67caf7466dd43bf5c1c1553916770cbc (patch) | |
tree | beab73b78673afdef325ab82ef9a9319bdd874a3 /src/main/java/eu/siacs/conversations/entities | |
parent | b951a2894a9ab4cbed9aa93359502481f9275d9e (diff) |
clear muc tiles when avatar of member changes
Diffstat (limited to 'src/main/java/eu/siacs/conversations/entities')
-rw-r--r-- | src/main/java/eu/siacs/conversations/entities/MucOptions.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/entities/MucOptions.java b/src/main/java/eu/siacs/conversations/entities/MucOptions.java index cafcf14fd..bdbe94146 100644 --- a/src/main/java/eu/siacs/conversations/entities/MucOptions.java +++ b/src/main/java/eu/siacs/conversations/entities/MucOptions.java @@ -448,7 +448,7 @@ public class MucOptions { return null; } - public User findUserByRealJid(Jid jid) { + private User findUserByRealJid(Jid jid) { if (jid == null) { return null; } @@ -462,6 +462,10 @@ public class MucOptions { return null; } + public boolean isContactInRoom(Contact contact) { + return findUserByRealJid(contact.getJid().toBareJid()) != null; + } + public boolean isUserInRoom(Jid jid) { return findUserByFullJid(jid) != null; } |