about summary refs log tree commit diff stats
path: root/src/xmpp/xmpp.h
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2021-03-18 20:32:12 +0100
committerMichael Vetter <jubalh@iodoru.org>2021-03-25 11:05:58 +0100
commitfde0a0d1c65ff61eb3d5bb9c07d6974d4fdac1f6 (patch)
tree5665fcc576e40222f0ed1e3e9bb1d2ba55b31b89 /src/xmpp/xmpp.h
parent064174efa3604404fd1b8a5c34cf69ed93ab12dc (diff)
downloadprofani-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.h1
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);
tik/mu/commit/html/067random.cc.html?h=hlt&id=08a0eed699b8ea07d37163aba610c8e04feee003'>08a0eed6 ^
e4ac3c9e ^
ac07e589 ^






c5ffb6e1 ^

a654e4ec ^



e5c11a51 ^






















a654e4ec ^

c5ffb6e1 ^
e5c11a51 ^
e4ac3c9e ^
a654e4ec ^
204dae92 ^


e4ac3c9e ^
204dae92 ^















e4ac3c9e ^
204dae92 ^










51728d93 ^
204dae92 ^
c5ffb6e1 ^


a654e4ec ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96