mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-14 09:01:08 +01:00
Bump jxmpp to 0.5.0-alpha4
This commit is contained in:
parent
8840236b72
commit
c125a3b055
49 changed files with 208 additions and 208 deletions
|
|
@ -65,7 +65,7 @@ public class MultipleRecipientInfo {
|
|||
* @return the JID of a MUC room to which responses should be sent or <tt>null</tt> if
|
||||
* no specific address was provided.
|
||||
*/
|
||||
// TODO should return BareJid
|
||||
// TODO should return EntityBareJid
|
||||
public Jid getReplyRoom() {
|
||||
List<MultipleAddresses.Address> replyRoom = extension.getAddressesOfType(MultipleAddresses.Type.replyroom);
|
||||
return replyRoom.isEmpty() ? null : replyRoom.get(0).getJid();
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@ import org.jivesoftware.smack.packet.Stanza;
|
|||
import org.jivesoftware.smack.util.StringUtils;
|
||||
import org.jivesoftware.smackx.address.packet.MultipleAddresses;
|
||||
import org.jivesoftware.smackx.disco.ServiceDiscoveryManager;
|
||||
import org.jxmpp.jid.BareJid;
|
||||
import org.jxmpp.jid.EntityBareJid;
|
||||
import org.jxmpp.jid.DomainBareJid;
|
||||
import org.jxmpp.jid.FullJid;
|
||||
import org.jxmpp.jid.EntityFullJid;
|
||||
import org.jxmpp.jid.Jid;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -178,9 +178,9 @@ public class MultipleRecipientManager {
|
|||
to.add(original.getFrom());
|
||||
}
|
||||
// Remove the sender from the TO/CC list (try with bare JID too)
|
||||
FullJid from = connection.getUser();
|
||||
EntityFullJid from = connection.getUser();
|
||||
if (!to.remove(from) && !cc.remove(from)) {
|
||||
BareJid bareJID = from.asBareJid();
|
||||
EntityBareJid bareJID = from.asBareJid();
|
||||
to.remove(bareJID);
|
||||
cc.remove(bareJID);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue