示例#1
0
 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);
     }
 }
示例#2
0
 private void OnRosterItem(object sender, Matrix.Xmpp.Roster.RosterEventArgs e)
 {
     buddyList.Add(e.RosterItem);
     shouldUpdate = true;
 }
示例#3
0
 private void OnRosterItem(object sender, Matrix.Xmpp.Roster.RosterEventArgs e)
 {
     Debug.LogWarning("RosterItem:" + e.RosterItem.Jid.User);
     buddies.Add(e.RosterItem);
 }