diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-03-18 20:32:12 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-03-25 11:05:58 +0100 |
commit | fde0a0d1c65ff61eb3d5bb9c07d6974d4fdac1f6 (patch) | |
tree | 5665fcc576e40222f0ed1e3e9bb1d2ba55b31b89 /src/xmpp/xmpp.h | |
parent | 064174efa3604404fd1b8a5c34cf69ed93ab12dc (diff) | |
download | profani-tty-fde0a0d1c65ff61eb3d5bb9c07d6974d4fdac1f6.tar.gz |
Add support to register with a room
`/affiliation register` can now be used to register a nickname with a MUC. Tested with a server without forms. Couldn't find a server which supports forms yet. Implements https://github.com/profanity-im/profanity/issues/1210
Diffstat (limited to 'src/xmpp/xmpp.h')
-rw-r--r-- | src/xmpp/xmpp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/xmpp.h b/src/xmpp/xmpp.h index 5f4efece..4229ddae 100644 --- a/src/xmpp/xmpp.h +++ b/src/xmpp/xmpp.h @@ -259,6 +259,7 @@ void iq_command_list(const char* const target); void iq_command_exec(const char* const target, const char* const command); void iq_mam_request(ProfChatWin* win); void iq_register_change_password(const char* const user, const char* const password); +void iq_muc_register_nick(const char* const roomjid); EntityCapabilities* caps_lookup(const char* const jid); void caps_close(void); |