mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Updated for renamed stbbr function
This commit is contained in:
parent
73188881a4
commit
07c9d2ddab
@ -33,7 +33,7 @@ connect_jid_requests_roster(void **state)
|
||||
void
|
||||
connect_jid_sends_presence_after_receiving_roster(void **state)
|
||||
{
|
||||
stbbr_for("roster",
|
||||
stbbr_for_id("roster",
|
||||
"<iq id=\"roster\" type=\"result\" to=\"stabber@localhost/profanity\">"
|
||||
"<query xmlns=\"jabber:iq:roster\" ver=\"362\">"
|
||||
"<item jid=\"buddy1@localhost\" subscription=\"both\" name=\"Buddy1\"/>"
|
||||
@ -76,7 +76,7 @@ connect_bad_password(void **state)
|
||||
void
|
||||
connect_shows_presence_updates(void **state)
|
||||
{
|
||||
stbbr_for("roster",
|
||||
stbbr_for_id("roster",
|
||||
"<iq id=\"roster\" type=\"result\" to=\"stabber@localhost/profanity\">"
|
||||
"<query xmlns=\"jabber:iq:roster\" ver=\"362\">"
|
||||
"<item jid=\"buddy1@localhost\" subscription=\"both\" name=\"Buddy1\"/>"
|
||||
@ -85,7 +85,7 @@ connect_shows_presence_updates(void **state)
|
||||
"</iq>"
|
||||
);
|
||||
|
||||
stbbr_for("prof_presence_1",
|
||||
stbbr_for_id("prof_presence_1",
|
||||
"<presence to=\"stabber@localhost\" from=\"buddy1@localhost/mobile\">"
|
||||
"<show>dnd</show>"
|
||||
"<status>busy!</status>"
|
||||
|
@ -30,7 +30,7 @@ message_send(void **state)
|
||||
void
|
||||
message_receive(void **state)
|
||||
{
|
||||
stbbr_for("roster",
|
||||
stbbr_for_id("roster",
|
||||
"<iq id=\"roster\" type=\"result\" to=\"stabber@localhost/profanity\">"
|
||||
"<query xmlns=\"jabber:iq:roster\" ver=\"362\">"
|
||||
"<item jid=\"buddy1@localhost\" subscription=\"both\" name=\"Buddy1\"/>"
|
||||
|
@ -14,10 +14,10 @@
|
||||
void
|
||||
ping_multiple(void **state)
|
||||
{
|
||||
stbbr_for("prof_ping_1",
|
||||
stbbr_for_id("prof_ping_1",
|
||||
"<iq id=\"prof_ping_1\" type=\"result\" to=\"stabber@localhost/profanity\"/>"
|
||||
);
|
||||
stbbr_for("prof_ping_2",
|
||||
stbbr_for_id("prof_ping_2",
|
||||
"<iq id=\"prof_ping_2\" type=\"result\" to=\"stabber@localhost/profanity\"/>"
|
||||
);
|
||||
|
||||
|
@ -230,7 +230,7 @@ presence_includes_priority(void **state)
|
||||
void
|
||||
presence_received(void **state)
|
||||
{
|
||||
stbbr_for("roster",
|
||||
stbbr_for_id("roster",
|
||||
"<iq id=\"roster\" type=\"result\" to=\"stabber@localhost/profanity\">"
|
||||
"<query xmlns=\"jabber:iq:roster\" ver=\"362\">"
|
||||
"<item jid=\"buddy1@localhost\" subscription=\"both\" name=\"Buddy1\"/>"
|
||||
|
@ -14,7 +14,7 @@
|
||||
void
|
||||
rooms_query(void **state)
|
||||
{
|
||||
stbbr_for("confreq",
|
||||
stbbr_for_id("confreq",
|
||||
"<iq id=\"confreq\" type=\"result\" to=\"stabber@localhost/profanity\" from=\"conference.localhost\">"
|
||||
"<query xmlns=\"http://jabber.org/protocol/disco#items\">"
|
||||
"<item jid=\"chatroom@conference.localhost\" name=\"A chat room\"/>"
|
||||
|
Loading…
Reference in New Issue
Block a user