private void xmppClient_OnRosterItem(object sender, Matrix.Xmpp.Roster.RosterEventArgs e) { if (e.RosterItem.Subscription != Subscription.Remove) { m_msgClient.AddRosterItem(e.RosterItem); } else { m_msgClient.DelRosterItem(e.RosterItem.Jid); } }
private void OnRosterItem(object sender, Matrix.Xmpp.Roster.RosterEventArgs e) { buddyList.Add(e.RosterItem); shouldUpdate = true; }
private void OnRosterItem(object sender, Matrix.Xmpp.Roster.RosterEventArgs e) { Debug.LogWarning("RosterItem:" + e.RosterItem.Jid.User); buddies.Add(e.RosterItem); }