Commit graph

303 commits

Author SHA1 Message Date
Ghislain MARY
181bfa2ec9 Change the chat room instantiated callback to chat room state changed. 2017-12-04 15:12:25 +01:00
Ghislain MARY
05271e8603 Change the state of ClientGroupChatRoom and ServerGroupChatRoom outside of their constructors. 2017-12-04 15:11:54 +01:00
Ronan Abhamon
a57290dbca feat(c-chat-room): add new function to get events list size 2017-12-04 15:08:20 +01:00
Ghislain MARY
2f1d16a306 Use c-wrapper for the Core object. 2017-12-04 13:56:32 +01:00
Ronan Abhamon
2b8e1cca64 fix(core): clean some pieces of code 2017-12-04 10:25:36 +01:00
Ronan Abhamon
47cf1d436c fix(c-chat-room): repair get history function 2017-12-01 15:13:45 +01:00
Ronan Abhamon
57f638266d feat(MainDb): create server group chat room from database 2017-12-01 11:43:56 +01:00
Ronan Abhamon
13a873196e feat(MainDb): add get unread chat messages impl 2017-12-01 10:55:39 +01:00
Sylvain Berfini
7e6b57a049 Small improvement of setState on ChatMessage in reception 2017-12-01 10:26:11 +01:00
Ghislain MARY
89ed9caeeb Rename isReadOnly() to hasBeenLeft() in ChatRoom. 2017-11-30 17:16:30 +01:00
Ronan Abhamon
8b7f6ef64c feat(MainDb): deal with conference terminated event 2017-11-30 15:38:00 +01:00
Ronan Abhamon
d532fb79f7 fix(ClientGroupChatRoom): set correctly state at fetch 2017-11-30 15:12:49 +01:00
Benjamin Reis
286199423f wrap chatroom isReadOnly method 2017-11-30 14:56:55 +01:00
Ronan Abhamon
71757bbce7 feat(MainDb): save chat room read only state 2017-11-30 14:15:38 +01:00
Benjamin Reis
7c2ce9d173 notify core when chat room is created instead of instantiated 2017-11-30 14:14:24 +01:00
Ronan Abhamon
af709ad4c9 fix(ChatRoom): add delete history impl 2017-11-30 10:18:12 +01:00
Ronan Abhamon
cea7ca8bb1 fix(c-chat-room): delete correctly chat message 2017-11-30 09:27:46 +01:00
Ronan Abhamon
91a64a7462 fix(ChatRoom): remove useless code 2017-11-29 15:59:22 +01:00
Ronan Abhamon
f0ca552ce4 fix(ChatRoom): reuse event from chat message in cb when possible 2017-11-29 15:57:33 +01:00
Ronan Abhamon
6b02c99f77 fix(ChatMessage): remove useless code 2017-11-29 15:18:55 +01:00
Ronan Abhamon
e1d909d1c5 feat(MainDb): provide a way to fetch messages from db key 2017-11-29 14:15:14 +01:00
Ghislain MARY
2d78e6820a Fix build. 2017-11-29 11:38:32 +01:00
Ronan Abhamon
65ab7cdfa3 feat(chat-message): supports cache partially 2017-11-29 11:33:51 +01:00
Benjamin Reis
afaa84610d fix update of last notify id in chat room + recover it when creating chat room from db 2017-11-28 17:09:44 +01:00
Benjamin Reis
a21111ca5a Fetch messages for Message-ID for IMDN 2017-11-28 14:56:04 +01:00
Benjamin Reis
1358569f85 fix how to get Message-ID 2017-11-28 14:56:04 +01:00
Ghislain MARY
ef7ae680ff Add Message-ID header in CPIM messages. 2017-11-28 11:12:06 +01:00
Ronan Abhamon
f6a6edc787 fix(file-transfer-chat-message-modifier): test if transfer server is null 2017-11-27 15:43:33 +01:00
Benjamin Reis
a63b6c7601 subscribe when creating a chatroom from db + fix creation of basic chat room from db 2017-11-27 15:01:56 +01:00
Ghislain MARY
9a8181ee31 Some fixes for call handling. 2017-11-27 12:24:47 +01:00
Benjamin Reis
5069a4a508 use coreect address for 'me' and initiate chat room times with now 2017-11-27 12:20:11 +01:00
Ronan Abhamon
a6b6b7aeb4 fix(MainDb): add me in db 2017-11-27 11:54:52 +01:00
Sylvain Berfini
caacc7a87f Started ChatRoom getLastChatMessage 2017-11-27 10:55:29 +01:00
Ronan Abhamon
a314ffd2c2 feat(MainDb): fetch chat rooms participants 2017-11-24 16:54:01 +01:00
Ghislain MARY
8274b3d157 Do not create a new focus participant when a client group chat room conference is created, only change its address. 2017-11-24 16:00:59 +01:00
Sylvain Berfini
28570e284d Prevent an insert that is redondent 2017-11-24 15:40:56 +01:00
Ghislain MARY
c115a448dd Fix chat messages routing issues because of gruu addresses. 2017-11-24 15:26:35 +01:00
Sylvain Berfini
72c9d28361 DB update of chat message improvement 2017-11-24 15:20:51 +01:00
Sylvain Berfini
759ecda219 This should fix IMDNs & IsComposing being stored 2017-11-24 14:45:58 +01:00
Sylvain Berfini
b3d1d7f9bb Do not store outgoing IMDNs and IsComposing 2017-11-24 14:19:39 +01:00
Sylvain Berfini
5483d48236 Removed absent method declaration 2017-11-24 12:03:40 +01:00
Sylvain Berfini
8a0b066960 Changes in transient messages in chat room, replaced by transient event logs 2017-11-24 10:44:20 +01:00
Sylvain Berfini
191a9f24ba Store chatEvent in chatMessage and update the database event when chatMessage's state changes 2017-11-23 17:31:02 +01:00
Sylvain Berfini
ec7fd6d258 Store ChatMessage in db after sending and upon reception 2017-11-23 16:42:20 +01:00
Ronan Abhamon
5c7fe8a92b feat(MainDb): supports fetching of client group chat room 2017-11-23 11:32:10 +01:00
Sylvain Berfini
eeee473682 Moved IMDN xml creation to imdn.cpp instead of chat-message 2017-11-23 11:04:35 +01:00
Ronan Abhamon
90b653f60f fix(chat-room): hide public onChatMessageReceived handler! 2017-11-22 15:26:15 +01:00
Sylvain Berfini
bb9cf6a74f Reworked iscomposing addresses cache 2017-11-22 14:02:40 +01:00
Ronan Abhamon
385284596e feat(ChatRoom): provide a get creation/last update time accessor 2017-11-22 11:23:30 +01:00
Sylvain Berfini
b7d0db120f Directly send the IMDN, do not go through the chatRoom 2017-11-22 11:08:50 +01:00