From 9974c68ee8baeb16f13267d6f044946cdf16f24c Mon Sep 17 00:00:00 2001 From: DebXWoody Date: Fri, 28 May 2021 17:57:42 +0200 Subject: Display OMEMO device ID Display the OMEMO device ID which has been generated, when the user generated OMEMO crytographic materials via /omemo gen. --- src/command/cmd_funcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command/cmd_funcs.c') diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 8b5c9db6..b2262c5f 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -8415,7 +8415,7 @@ cmd_omemo_gen(ProfWin* window, const char* const command, gchar** args) ui_update(); ProfAccount* account = accounts_get_account(session_get_account_name()); omemo_generate_crypto_materials(account); - cons_show("OMEMO crytographic materials generated."); + cons_show("OMEMO crytographic materials generated. Your Device ID is %d.", omemo_device_id()); return TRUE; #else cons_show("This version of Profanity has not been built with OMEMO support enabled"); -- cgit 1.4.1-2-gfad0 ’ More comprehensible and rewrite-friendly software → More resilient society.Kartik K. Agaram <vc@akkartik.com>
about summary refs log tree commit diff stats
path: root/027call_ingredient.cc
blob: ed0b8e5a018d86008d3d4dc2c34f2995dc1b91cf (plain) (blame)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188