mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
Bump jxmpp to 0.5.0-alpha5 and change Roster API
to only allow bare JIDs as roster entires.
This commit is contained in:
parent
2f219c7317
commit
58402c5615
16 changed files with 111 additions and 114 deletions
|
@ -180,7 +180,7 @@ public class MultipleRecipientManager {
|
|||
// Remove the sender from the TO/CC list (try with bare JID too)
|
||||
EntityFullJid from = connection.getUser();
|
||||
if (!to.remove(from) && !cc.remove(from)) {
|
||||
EntityBareJid bareJID = from.asBareJid();
|
||||
EntityBareJid bareJID = from.asEntityBareJid();
|
||||
to.remove(bareJID);
|
||||
cc.remove(bareJID);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue