Commit graph

280 commits

Author SHA1 Message Date
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
Sylvain Berfini
fec4923ad0 Reworked IDMN 2017-11-22 11:02:54 +01:00
Ronan Abhamon
13f4afe165 feat(MainDb): supports local chat room id 2017-11-21 14:21:42 +01:00
Ghislain MARY
bb5b22b932 Use IdentityAddress in conference. 2017-11-21 10:43:20 +01:00
Benjamin Reis
e1122d15f5 add multipart notify support for conference events 2017-11-20 14:52:15 +01:00
Ghislain MARY
cf7c300b07 Use GRUU address in From header when sending messages. 2017-11-17 16:57:48 +01:00
Ronan Abhamon
1ca9d64af8 feat(core): avoid virtual inheritance of CoreAccessor 2017-11-17 15:49:45 +01:00
Ronan Abhamon
6dd6e829a3 feat(conference): refactoring, use CoreAccessor and ChatRoomId 2017-11-17 15:49:45 +01:00
Ghislain MARY
e2013f1aa0 Fix build with some GCC versions. 2017-11-17 09:54:24 +01:00
Ghislain MARY
d4d88312ae Add a callback on the ChatRoom to generate the conference address. 2017-11-16 18:09:37 +01:00
Ronan Abhamon
a97c048420 feat(EventLog): refactoring, use IdentityAddress and rename time arg 2017-11-16 17:06:12 +01:00
Ghislain MARY
902cb50104 Merge SimpleAddress and GruuAddress classes into a single IdentityAddress class. 2017-11-16 16:05:18 +01:00
Ghislain MARY
f117ff958c Fix chat related code that was broken with the introduction of ChatRoomId. 2017-11-16 14:08:36 +01:00
Ronan Abhamon
105e63f271 feat(core): provide a local address on chat room (the core is dead now) 2017-11-15 14:47:06 +01:00
Ronan Abhamon
54ed679844 fix(ChatMessage): avoid heap corruption, use delete instead of free 2017-11-13 17:02:46 +01:00
Sylvain Berfini
36e73b29f2 Fixed message log 2017-11-13 13:26:41 +01:00
Sylvain Berfini
c574c64111 Added asynchronism for chat message reception 2017-11-13 13:18:57 +01:00
Ronan Abhamon
2ad1f46105 fix(ClonableObject): fix a fatal bug in ClonableObject:
- Create a A Object
- Create a B Object
- Copy A in B
- Delete B
- Use L_Q or access public => Crash
2017-11-13 11:13:01 +01:00
Ghislain MARY
e98ce1ea4a Some cleaning. 2017-11-10 15:29:04 +01:00
Ronan Abhamon
098660726f feat(ChatRoom): add a chat room identifier object 2017-11-10 15:27:12 +01:00
Sylvain Berfini
e43d58fb2b Remove participant before the onParticipantRemoved callback on ChatRoom so the participants list is correct in the callback 2017-11-10 14:36:30 +01:00
Ronan Abhamon
e536ded32d fix(ClientGroupChatRoom): do not create base ChatRoom with me!!! 2017-11-10 09:34:01 +01:00
Ghislain MARY
a30050c8bd Correct handling of client group chat room joining after it has been left. 2017-11-09 17:30:27 +01:00
Sylvain Berfini
fd1084b875 Free the contents upon ChatMessage destruction 2017-11-09 16:46:14 +01:00