mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 17:52:17 -05:00
bugfix: use sendIqPacket method in service instead of invoking XmppConnection directly
This commit is contained in:
parent
086653b649
commit
37cbdb8b4e
@ -830,9 +830,8 @@ public class XmppConnectionService extends Service implements OnPhoneContactsLoa
|
|||||||
} else {
|
} else {
|
||||||
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": fetching roster");
|
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": fetching roster");
|
||||||
}
|
}
|
||||||
iqPacket.query(Xmlns.ROSTER).setAttribute("ver",
|
iqPacket.query(Xmlns.ROSTER).setAttribute("ver",account.getRosterVersion());
|
||||||
account.getRosterVersion());
|
sendIqPacket(account,iqPacket,mIqParser);
|
||||||
account.getXmppConnection().sendIqPacket(iqPacket, mIqParser);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void fetchBookmarks(final Account account) {
|
public void fetchBookmarks(final Account account) {
|
||||||
|
Loading…
Reference in New Issue
Block a user