Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Im/XmppIm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ public void AddToRoster(RosterItem item) {
foreach (string group in item.Groups)
xml.Child(Xml.Element("group").Text(group));
var query = Xml.Element("query", "jabber:iq:roster").Child(xml);
Iq iq = IqRequest(IqType.Set, null, Jid, query);
Iq iq = IqRequest(IqType.Set, item.Jid, Jid, query);
if (iq.Type == IqType.Error)
throw Util.ExceptionFromError(iq, "The item could not be added to the roster.");
}
Expand Down