mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Use stbbr_for_query for roster
This commit is contained in:
parent
07c9d2ddab
commit
f278e0a466
@ -33,8 +33,8 @@ connect_jid_requests_roster(void **state)
|
||||
void
|
||||
connect_jid_sends_presence_after_receiving_roster(void **state)
|
||||
{
|
||||
stbbr_for_id("roster",
|
||||
"<iq id=\"roster\" type=\"result\" to=\"stabber@localhost/profanity\">"
|
||||
stbbr_for_query("jabber:iq:roster",
|
||||
"<iq type=\"result\" to=\"stabber@localhost/profanity\">"
|
||||
"<query xmlns=\"jabber:iq:roster\" ver=\"362\">"
|
||||
"<item jid=\"buddy1@localhost\" subscription=\"both\" name=\"Buddy1\"/>"
|
||||
"<item jid=\"buddy2@localhost\" subscription=\"both\" name=\"Buddy2\"/>"
|
||||
@ -76,8 +76,8 @@ connect_bad_password(void **state)
|
||||
void
|
||||
connect_shows_presence_updates(void **state)
|
||||
{
|
||||
stbbr_for_id("roster",
|
||||
"<iq id=\"roster\" type=\"result\" to=\"stabber@localhost/profanity\">"
|
||||
stbbr_for_query("jabber:iq:roster",
|
||||
"<iq type=\"result\" to=\"stabber@localhost/profanity\">"
|
||||
"<query xmlns=\"jabber:iq:roster\" ver=\"362\">"
|
||||
"<item jid=\"buddy1@localhost\" subscription=\"both\" name=\"Buddy1\"/>"
|
||||
"<item jid=\"buddy2@localhost\" subscription=\"both\" name=\"Buddy2\"/>"
|
||||
|
Loading…
Reference in New Issue
Block a user