mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Prime rooms query response
This commit is contained in:
parent
766b4e0e5f
commit
cddc55b51b
@ -53,6 +53,15 @@ sends_rooms_iq(void **state)
|
||||
cmd_process_input(strdup("/connect stabber@localhost port 5230"));
|
||||
prof_process_xmpp();
|
||||
|
||||
stbbr_for("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\"/>"
|
||||
"<item jid=\"hangout@conference.localhost\" name=\"Another chat room\"/>"
|
||||
"</query>"
|
||||
"</iq>"
|
||||
);
|
||||
|
||||
cmd_process_input(strdup("/rooms"));
|
||||
prof_process_xmpp();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user