Line data Source code
1 : /*
2 : * Copyright (C) 2004-2026 Savoir-faire Linux Inc.
3 : *
4 : * This program is free software: you can redistribute it and/or modify
5 : * it under the terms of the GNU General Public License as published by
6 : * the Free Software Foundation, either version 3 of the License, or
7 : * (at your option) any later version.
8 : *
9 : * This program is distributed in the hope that it will be useful,
10 : * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 : * GNU General Public License for more details.
13 : *
14 : * You should have received a copy of the GNU General Public License
15 : * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 : */
17 :
18 : #ifndef LIBJAMI_CONVERSATIONI_H
19 : #define LIBJAMI_CONVERSATIONI_H
20 :
21 : #include "def.h"
22 :
23 : #include <vector>
24 : #include <map>
25 : #include <string>
26 : #include <cstdint>
27 :
28 : namespace libjami {
29 :
30 : struct SwarmMessage
31 : {
32 : std::string id;
33 : std::string type;
34 : std::string linearizedParent;
35 : std::map<std::string, std::string> body;
36 : std::vector<std::map<std::string, std::string>> reactions;
37 : std::vector<std::map<std::string, std::string>> editions;
38 : std::map<std::string, int32_t> status;
39 : // Extra attributes written by plugins (e.g. {"bodyOverwrite": "..."}).
40 : // Never stored to git — local display only.
41 : std::map<std::string, std::string> pluginData;
42 : // Id of the edition commit that last set the current body (empty = no editions yet).
43 : // Used to correctly tag superseded bodies when new editions arrive.
44 : std::string latestEditionId;
45 :
46 17103 : void fromMapStringString(const std::map<std::string, std::string>& commit)
47 : {
48 34206 : id = commit.at("id");
49 17103 : type = commit.at("type");
50 17103 : body = commit; // TODO erase type/id?
51 17103 : }
52 : };
53 :
54 : enum class MemberEvent : int { INVALID = -1, ADD = 0, JOIN = 1, REMOVE = 2, BAN = 3, UNBAN = 4 };
55 :
56 : // Conversation management
57 : LIBJAMI_PUBLIC std::string startConversation(const std::string& accountId);
58 : /** Starts a new FEED conversation for the account. */
59 : LIBJAMI_PUBLIC std::string startFeedConversation(const std::string& accountId);
60 : LIBJAMI_PUBLIC void acceptConversationRequest(const std::string& accountId, const std::string& conversationId);
61 : LIBJAMI_PUBLIC void declineConversationRequest(const std::string& accountId, const std::string& conversationId);
62 : LIBJAMI_PUBLIC bool removeConversation(const std::string& accountId, const std::string& conversationId);
63 : LIBJAMI_PUBLIC std::vector<std::string> getConversations(const std::string& accountId);
64 : LIBJAMI_PUBLIC std::vector<std::map<std::string, std::string>> getConversationRequests(const std::string& accountId);
65 :
66 : // Calls
67 : LIBJAMI_PUBLIC std::vector<std::map<std::string, std::string>> getActiveCalls(const std::string& accountId,
68 : const std::string& conversationId);
69 :
70 : // Conversation's infos management
71 : LIBJAMI_PUBLIC void updateConversationInfos(const std::string& accountId,
72 : const std::string& conversationId,
73 : const std::map<std::string, std::string>& infos);
74 : LIBJAMI_PUBLIC std::map<std::string, std::string> conversationInfos(const std::string& accountId,
75 : const std::string& conversationId);
76 : LIBJAMI_PUBLIC void setConversationPreferences(const std::string& accountId,
77 : const std::string& conversationId,
78 : const std::map<std::string, std::string>& prefs);
79 : LIBJAMI_PUBLIC std::map<std::string, std::string> getConversationPreferences(const std::string& accountId,
80 : const std::string& conversationId);
81 :
82 : // Member management
83 : LIBJAMI_PUBLIC void addConversationMember(const std::string& accountId,
84 : const std::string& conversationId,
85 : const std::string& contactUri);
86 : LIBJAMI_PUBLIC void removeConversationMember(const std::string& accountId,
87 : const std::string& conversationId,
88 : const std::string& contactUri);
89 : LIBJAMI_PUBLIC std::vector<std::map<std::string, std::string>> getConversationMembers(const std::string& accountId,
90 : const std::string& conversationId);
91 : LIBJAMI_PUBLIC std::vector<std::string> getConversationPermissions(const std::string& accountId,
92 : const std::string& conversationId);
93 :
94 : // Message send/load
95 : LIBJAMI_PUBLIC void sendMessage(const std::string& accountId,
96 : const std::string& conversationId,
97 : const std::string& message,
98 : const std::string& replyTo,
99 : const int32_t& flag = 0);
100 : LIBJAMI_PUBLIC uint32_t loadConversation(const std::string& accountId,
101 : const std::string& conversationId,
102 : const std::string& fromMessage,
103 : size_t n);
104 : LIBJAMI_PUBLIC uint32_t loadSwarmUntil(const std::string& accountId,
105 : const std::string& conversationId,
106 : const std::string& fromMessage,
107 : const std::string& toMessage);
108 : LIBJAMI_PUBLIC uint32_t countInteractions(const std::string& accountId,
109 : const std::string& conversationId,
110 : const std::string& toId,
111 : const std::string& fromId,
112 : const std::string& authorUri);
113 : LIBJAMI_PUBLIC void clearCache(const std::string& accountId, const std::string& conversationId);
114 : LIBJAMI_PUBLIC uint32_t searchConversation(const std::string& accountId,
115 : const std::string& conversationId,
116 : const std::string& author,
117 : const std::string& lastId,
118 : const std::string& regexSearch,
119 : const std::string& type,
120 : const int64_t& after,
121 : const int64_t& before,
122 : const uint32_t& maxResult,
123 : const int32_t& flag);
124 : LIBJAMI_PUBLIC void reloadConversationsAndRequests(const std::string& accountId);
125 :
126 : /**
127 : * Real-time collaborative editing of a shared document inside a conversation.
128 : *
129 : * The daemon is a transport for Y-CRDT updates, not an editor: it moves opaque
130 : * updates between the clients and the conversation members and stores them, but
131 : * it never interprets what a document contains. A client keeps its own yrs
132 : * replica, produces updates from it and merges the ones it receives through
133 : * ConversationSignal::CollaborativeDocumentUpdate.
134 : *
135 : * Receiving a document announcement automatically downloads its repository and
136 : * subscribes this device to subsequent checkpoints, without opening an editor.
137 : * This includes announcements received while the device was offline. Explicitly
138 : * removing a local copy stops replication until the document is opened again.
139 : * A reachable holder is required to download the content;
140 : * ConversationSignal::CollaborativeDocumentReplicated reports when it is done.
141 : * Unopened documents are replicated on disk without allocating a CRDT session.
142 : * Leaving the parent conversation also cancels its pending document downloads.
143 : *
144 : * Because nothing here is tied to a document type, a client is free to implement
145 : * an editor for any type yrs supports -- text, rich text, maps, arrays, XML
146 : * fragments -- without a change to this API. A document carries the media type
147 : * of what it holds, so a client can tell an unsupported document apart from one
148 : * it should open.
149 : *
150 : * Updates cross this API as the bytes the engine produced. They are binary and
151 : * they are handed over as such: encoding them would inflate every keystroke by a
152 : * third and cost a conversion at each end, for nothing the transports need.
153 : */
154 : LIBJAMI_PUBLIC std::string createCollaborativeDocument(const std::string& accountId,
155 : const std::string& conversationId,
156 : const std::string& name,
157 : const std::string& mimeType);
158 : /**
159 : * Open a document and get its whole state as a single Y-CRDT update. Apply it to
160 : * a fresh replica to obtain the current document.
161 : *
162 : * @return the state, never empty: a document that holds nothing still encodes as
163 : * a short, valid update, and applying it is a harmless no-op. Empty means
164 : * the account is gone.
165 : */
166 : LIBJAMI_PUBLIC std::vector<uint8_t> openCollaborativeDocument(const std::string& accountId,
167 : const std::string& conversationId,
168 : const std::string& documentId);
169 : /**
170 : * Remove a document from the conversation. It is retired for every member and
171 : * erased from every device, so this is not a way to stop holding a document
172 : * locally.
173 : *
174 : * Only the member who created the document can: the removal is an edition of the
175 : * announcement, and the swarm accepts an edition only from the author of what it
176 : * edits.
177 : *
178 : * @return false if no announcement for that document is known here. True means
179 : * the removal was committed, not that the members already applied it;
180 : * ConversationSignal::CollaborativeDocumentRemoved reports that.
181 : */
182 : LIBJAMI_PUBLIC bool removeCollaborativeDocument(const std::string& accountId,
183 : const std::string& conversationId,
184 : const std::string& documentId);
185 : /**
186 : * Remove a document from this device only, leaving the other members untouched.
187 : *
188 : * Any member may, on any document: nothing is said to the conversation, this
189 : * only reclaims what this device chose to store. The document stays listed --
190 : * with "storedLocally" false -- and openCollaborativeDocument() fetches it back.
191 : *
192 : * This cancels the pending checkpoint and discards the in-memory replica. Edits
193 : * produced here since the last checkpoint therefore go with it, even when
194 : * another member received them live: receivers merge remote updates in memory
195 : * but do not checkpoint them. An update is durably held elsewhere only after a
196 : * member has fetched and merged the producer's checkpoint into its repository.
197 : *
198 : * @return false if the conversation never announced that document. True means it
199 : * is gone from here; ConversationSignal::CollaborativeDocumentRemoved
200 : * reports it with @c everywhere false.
201 : */
202 : LIBJAMI_PUBLIC bool removeCollaborativeDocumentLocally(const std::string& accountId,
203 : const std::string& conversationId,
204 : const std::string& documentId);
205 : LIBJAMI_PUBLIC void closeCollaborativeDocument(const std::string& accountId,
206 : const std::string& conversationId,
207 : const std::string& documentId);
208 : /**
209 : * Hand the daemon an update produced by the client's own replica: it is merged,
210 : * broadcast to the members and persisted.
211 : *
212 : * It is not signalled back to the local clients, since the replica that produced
213 : * it already holds it.
214 : *
215 : * An update the engine cannot read, or one over 8 MiB once decoded, is dropped:
216 : * the call has no way to fail, so a client must not treat it as an acknowledgement.
217 : * Calling collaborativeDocumentState() tells the client what the daemon actually
218 : * holds.
219 : */
220 : LIBJAMI_PUBLIC void applyCollaborativeUpdate(const std::string& accountId,
221 : const std::string& conversationId,
222 : const std::string& documentId,
223 : const std::vector<uint8_t>& update);
224 : /// The in-memory document state as a Y-CRDT update. Empty until an editor opens
225 : /// the document; use collaborativeDocumentStateAt() to read a stored checkpoint.
226 : LIBJAMI_PUBLIC std::vector<uint8_t> collaborativeDocumentState(const std::string& accountId,
227 : const std::string& conversationId,
228 : const std::string& documentId);
229 : /**
230 : * Share ephemeral state with the other members while editing: presence, cursor,
231 : * selection. The payload is opaque, never merged and never stored, so its shape
232 : * is the clients' own agreement. Delivered as
233 : * ConversationSignal::CollaborativeAwarenessChanged.
234 : *
235 : * It is meant to stay small: a state over 8 KiB is dropped, in both directions.
236 : */
237 : LIBJAMI_PUBLIC void setCollaborativeAwareness(const std::string& accountId,
238 : const std::string& conversationId,
239 : const std::string& documentId,
240 : const std::string& state);
241 : LIBJAMI_PUBLIC void setCollaborativeDocumentName(const std::string& accountId,
242 : const std::string& conversationId,
243 : const std::string& documentId,
244 : const std::string& name);
245 : LIBJAMI_PUBLIC std::string collaborativeDocumentName(const std::string& accountId,
246 : const std::string& conversationId,
247 : const std::string& documentId);
248 : /**
249 : * Every collaborative document announced in a conversation. Each entry carries
250 : * "id", the document's own id -- the one every other document call takes --
251 : * plus "displayName", "mimeType", "author" and "timestamp", read from the
252 : * commit that announced it, and "announcement", that commit's id, so a client
253 : * can tie the document to its timeline interaction. One more key is added by
254 : * the daemon rather than read from the commit: "storedLocally", "true" unless
255 : * this device removed the document from itself, in which case opening it
256 : * fetches it back.
257 : */
258 : LIBJAMI_PUBLIC std::vector<std::map<std::string, std::string>> getCollaborativeDocuments(
259 : const std::string& accountId, const std::string& conversationId);
260 :
261 : /**
262 : * Checkpoints of a collaborative document, newest first. Each entry describes one
263 : * batch of edits with the keys "id", "author", "device", "timestamp" and "deltas".
264 : * @param accountId the local account id
265 : * @param conversationId the conversation hosting the document
266 : * @param documentId the document id
267 : * @param max maximum number of entries, 0 for no limit
268 : */
269 : LIBJAMI_PUBLIC std::vector<std::map<std::string, std::string>> getCollaborativeDocumentHistory(
270 : const std::string& accountId, const std::string& conversationId, const std::string& documentId, uint32_t max);
271 :
272 : /**
273 : * The document's state as it was at checkpoint @c commitId, as a Y-CRDT update.
274 : * The live document is left untouched.
275 : *
276 : * Reviewing that state, or restoring the document to it, is the client's
277 : * business: both need to know what the document is, which is precisely what the
278 : * daemon does not.
279 : * @return empty if that checkpoint is unknown here
280 : */
281 : LIBJAMI_PUBLIC std::vector<uint8_t> collaborativeDocumentStateAt(const std::string& accountId,
282 : const std::string& conversationId,
283 : const std::string& documentId,
284 : const std::string& commitId);
285 :
286 : /**
287 : * Store a binary payload the document refers to -- an image, a sound, any blob --
288 : * and return the id to embed in the document.
289 : *
290 : * The content is opaque to the daemon, like an update: this does not know about
291 : * images any more than the rest of this API knows about text. It is kept out of
292 : * the CRDT deliberately, because a CRDT never forgets: a deleted payload would
293 : * still weigh on every replica for good. Stored here it is a plain git blob,
294 : * written once whatever the number of references to it, and carried to the other
295 : * members by the document's own repository.
296 : *
297 : * @return the attachment id, or empty when the payload is empty, over 16 MiB, or
298 : * could not be stored.
299 : */
300 : LIBJAMI_PUBLIC std::string addCollaborativeAttachment(const std::string& accountId,
301 : const std::string& conversationId,
302 : const std::string& documentId,
303 : const std::vector<uint8_t>& data);
304 : /**
305 : * Read back an attachment.
306 : *
307 : * @return empty when this replica does not hold it @b yet, which is the normal
308 : * state right after a peer referenced it: the reference travels on the
309 : * real-time path and the payload with the repository. A client should
310 : * show a placeholder and wait for
311 : * ConversationSignal::CollaborativeAttachmentAdded rather than treat
312 : * this as an error.
313 : */
314 : LIBJAMI_PUBLIC std::vector<uint8_t> collaborativeAttachment(const std::string& accountId,
315 : const std::string& conversationId,
316 : const std::string& documentId,
317 : const std::string& attachmentId);
318 :
319 : struct LIBJAMI_PUBLIC ConversationSignal
320 : {
321 : /**
322 : * A Y-CRDT update to merge into the client's own replica of the document.
323 : *
324 : * The payload is opaque: the daemon neither produces nor reads the
325 : * document's content, so this one signal carries every change of every
326 : * document type. An update the replica already has is a no-op, so applying
327 : * it unconditionally is always correct.
328 : *
329 : * An empty payload is a notification, not an update: the document changed
330 : * -- a synchronization brought edits while no client here had it open --
331 : * but the content is withheld until the document is opened. There is
332 : * nothing to apply; it exists so a client can mark the document unread.
333 : */
334 : struct LIBJAMI_PUBLIC CollaborativeDocumentUpdate
335 : {
336 : constexpr static const char* name = "CollaborativeDocumentUpdate";
337 : using cb_type = void(const std::string& /*account_id*/,
338 : const std::string& /*convId*/,
339 : const std::string& /*documentId*/,
340 : const std::vector<uint8_t>& /*update*/);
341 : };
342 : /**
343 : * Ephemeral state a peer shares while editing: presence, cursor, selection.
344 : * Never merged and never stored; its shape is agreed between clients, not
345 : * imposed by the daemon.
346 : *
347 : * A peer is identified by @c clientId, not by @c peerId: one account can
348 : * have several devices in the same document, and each of them has its own
349 : * cursor. @c peerId says which person that client belongs to.
350 : */
351 : struct LIBJAMI_PUBLIC CollaborativeAwarenessChanged
352 : {
353 : constexpr static const char* name = "CollaborativeAwarenessChanged";
354 : using cb_type = void(const std::string& /*account_id*/,
355 : const std::string& /*convId*/,
356 : const std::string& /*documentId*/,
357 : const std::string& /*peerId*/,
358 : uint64_t /*clientId*/,
359 : const std::string& /*state*/);
360 : };
361 : /// A client withdrew its state, or stopped announcing it for long enough to
362 : /// be considered gone. Anything shown for @c clientId can be dropped.
363 : struct LIBJAMI_PUBLIC CollaborativeParticipantLeft
364 : {
365 : constexpr static const char* name = "CollaborativeParticipantLeft";
366 : using cb_type = void(const std::string& /*account_id*/,
367 : const std::string& /*convId*/,
368 : const std::string& /*documentId*/,
369 : const std::string& /*peerId*/,
370 : uint64_t /*clientId*/);
371 : };
372 : struct LIBJAMI_PUBLIC CollaborativeDocumentRenamed
373 : {
374 : constexpr static const char* name = "CollaborativeDocumentRenamed";
375 : using cb_type = void(const std::string& /*account_id*/,
376 : const std::string& /*convId*/,
377 : const std::string& /*documentId*/,
378 : const std::string& /*name*/);
379 : };
380 : /// A document is no longer held by this device. @c everywhere tells the two
381 : /// apart: true when its author retired it and it is gone for every member,
382 : /// false when this device alone removed it and the others still have it.
383 : struct LIBJAMI_PUBLIC CollaborativeDocumentRemoved
384 : {
385 : constexpr static const char* name = "CollaborativeDocumentRemoved";
386 : using cb_type = void(const std::string& /*account_id*/,
387 : const std::string& /*convId*/,
388 : const std::string& /*documentId*/,
389 : bool /*everywhere*/);
390 : };
391 : /// A synchronization brought in a binary payload the document refers to.
392 : /// Clients showing a placeholder for it can now read it with
393 : /// collaborativeAttachment().
394 : struct LIBJAMI_PUBLIC CollaborativeAttachmentAdded
395 : {
396 : constexpr static const char* name = "CollaborativeAttachmentAdded";
397 : using cb_type = void(const std::string& /*account_id*/,
398 : const std::string& /*convId*/,
399 : const std::string& /*documentId*/,
400 : const std::string& /*attachmentId*/);
401 : };
402 : /// No download of the document is in progress: one completed, or an
403 : /// announcement started none. @c stored tells whether the document is on
404 : /// this device (possibly still empty). A failed download reports nothing.
405 : struct LIBJAMI_PUBLIC CollaborativeDocumentReplicated
406 : {
407 : constexpr static const char* name = "CollaborativeDocumentReplicated";
408 : using cb_type = void(const std::string& /*account_id*/,
409 : const std::string& /*convId*/,
410 : const std::string& /*documentId*/,
411 : bool /*stored*/);
412 : };
413 : struct LIBJAMI_PUBLIC SwarmLoaded
414 : {
415 : constexpr static const char* name = "SwarmLoaded";
416 : using cb_type = void(uint32_t /* id */,
417 : const std::string& /*accountId*/,
418 : const std::string& /* conversationId */,
419 : std::vector<SwarmMessage> /*messages*/,
420 : const std::vector<std::string>& /*permissions*/);
421 : };
422 : struct LIBJAMI_PUBLIC MessagesFound
423 : {
424 : constexpr static const char* name = "MessagesFound";
425 : using cb_type = void(uint32_t /* id */,
426 : const std::string& /*accountId*/,
427 : const std::string& /* conversationId */,
428 : std::vector<std::map<std::string, std::string>> /*messages*/);
429 : };
430 : struct LIBJAMI_PUBLIC SwarmMessageReceived
431 : {
432 : constexpr static const char* name = "SwarmMessageReceived";
433 : using cb_type = void(const std::string& /*accountId*/,
434 : const std::string& /* conversationId */,
435 : const SwarmMessage& /*message*/);
436 : };
437 : struct LIBJAMI_PUBLIC SwarmMessageUpdated
438 : {
439 : constexpr static const char* name = "SwarmMessageUpdated";
440 : using cb_type = void(const std::string& /*accountId*/,
441 : const std::string& /* conversationId */,
442 : const SwarmMessage& /*message*/);
443 : };
444 : struct LIBJAMI_PUBLIC ReactionAdded
445 : {
446 : constexpr static const char* name = "ReactionAdded";
447 : using cb_type = void(const std::string& /*accountId*/,
448 : const std::string& /* conversationId */,
449 : const std::string& /* messageId */,
450 : std::map<std::string, std::string> /*reaction*/);
451 : };
452 : struct LIBJAMI_PUBLIC ReactionRemoved
453 : {
454 : constexpr static const char* name = "ReactionRemoved";
455 : using cb_type = void(const std::string& /*accountId*/,
456 : const std::string& /* conversationId */,
457 : const std::string& /* messageId */,
458 : const std::string& /* reactionId */);
459 : };
460 : struct LIBJAMI_PUBLIC ConversationProfileUpdated
461 : {
462 : constexpr static const char* name = "ConversationProfileUpdated";
463 : using cb_type = void(const std::string& /*accountId*/,
464 : const std::string& /* conversationId */,
465 : std::map<std::string, std::string> /*profile*/);
466 : };
467 : struct LIBJAMI_PUBLIC ConversationRequestReceived
468 : {
469 : constexpr static const char* name = "ConversationRequestReceived";
470 : using cb_type = void(const std::string& /*accountId*/,
471 : const std::string& /* conversationId */,
472 : std::map<std::string, std::string> /*metadatas*/);
473 : };
474 : struct LIBJAMI_PUBLIC ConversationRequestDeclined
475 : {
476 : constexpr static const char* name = "ConversationRequestDeclined";
477 : using cb_type = void(const std::string& /*accountId*/, const std::string& /* conversationId */);
478 : };
479 : struct LIBJAMI_PUBLIC ConversationReady
480 : {
481 : constexpr static const char* name = "ConversationReady";
482 : using cb_type = void(const std::string& /*accountId*/, const std::string& /* conversationId */);
483 : };
484 : struct LIBJAMI_PUBLIC ConversationRemoved
485 : {
486 : constexpr static const char* name = "ConversationRemoved";
487 : using cb_type = void(const std::string& /*accountId*/, const std::string& /* conversationId */);
488 : };
489 : struct LIBJAMI_PUBLIC ConversationMemberEvent
490 : {
491 : constexpr static const char* name = "ConversationMemberEvent";
492 : using cb_type = void(const std::string& /*accountId*/,
493 : const std::string& /* conversationId */,
494 : const std::string& /* memberUri */,
495 : int /* event 0 = add, 1 = joins, 2 = leave, 3 = banned */);
496 : };
497 :
498 : struct LIBJAMI_PUBLIC ConversationSyncFinished
499 : {
500 : constexpr static const char* name = "ConversationSyncFinished";
501 : using cb_type = void(const std::string& /*accountId*/);
502 : };
503 :
504 : struct LIBJAMI_PUBLIC ConversationCloned
505 : {
506 : constexpr static const char* name = "ConversationCloned";
507 : using cb_type = void(const std::string& /*accountId*/);
508 : };
509 :
510 : struct LIBJAMI_PUBLIC CallConnectionRequest
511 : {
512 : constexpr static const char* name = "CallConnectionRequest";
513 : using cb_type = void(const std::string& /*accountId*/, const std::string& /*peerId*/, bool hasVideo);
514 : };
515 :
516 : struct LIBJAMI_PUBLIC OnConversationError
517 : {
518 : constexpr static const char* name = "OnConversationError";
519 : using cb_type = void(const std::string& /*accountId*/,
520 : const std::string& /* conversationId */,
521 : int code,
522 : const std::string& what);
523 : };
524 :
525 : // Preferences
526 : struct LIBJAMI_PUBLIC ConversationPreferencesUpdated
527 : {
528 : constexpr static const char* name = "ConversationPreferencesUpdated";
529 : using cb_type = void(const std::string& /*accountId*/,
530 : const std::string& /*conversationId*/,
531 : std::map<std::string, std::string> /*preferences*/);
532 : };
533 : };
534 :
535 : } // namespace libjami
536 :
537 : #endif // LIBJAMI_CONVERSATIONI_H
|