Renamed stbbr_for -> stbbr_for_id

This commit is contained in:
James Booth
2015-06-01 22:02:18 +01:00
parent 66077b0194
commit ddb837cdcd
6 changed files with 10 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ int main(void)
stbbr_auth_passwd("password");
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\"/>"
@@ -16,7 +16,7 @@ int main(void)
"</query>"
"</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,12 +30,12 @@ int main(void)
"<status>Out of office</status>"
"</presence>");
stbbr_for("prof_msg_2",
stbbr_for_id("prof_msg_2",
"<message id=\"message1\" to=\"stabber@localhost\" from=\"buddy1@localhost/mobile\" type=\"chat\">"
"<body>Welcome!!</body>"
"</message>");
stbbr_for("prof_msg_3",
stbbr_for_id("prof_msg_3",
"<message id=\"message2\" to=\"stabber@localhost\" from=\"buddy1@localhost/laptop\" type=\"chat\">"
"<body>From me laptop</body>"
"</message>");