public void AddContact(string contactName) { _rosterManager.AddRosterItem(new Jid(contactName, _client.Server, null)); }
public void Add(string jid, string nickname, string group) { _presence.Subscribe(jid); _roster.AddRosterItem(jid, nickname, group); }