Commit graph

356 commits

Author SHA1 Message Date
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
Ghislain MARY
88c9e1e593 Use the CallSessionParams to add parameters to the contact address.
This fixes the GRUU address in the contact of an INVITE.
2017-11-09 16:00:50 +01:00
Ronan Abhamon
9f2db02565 fix(MainDb): fetch correctly chat messages (no contents), no all chat messages for one message!!! 2017-11-09 15:42:09 +01:00
Benjamin Reis
43f0d86369 set use_cpim default value depending on using group chat 2017-11-09 14:42:26 +01:00
Sylvain Berfini
7018a708c3 Fixed old C API for file transfer 2017-11-09 13:09:28 +01:00
Sylvain Berfini
f1f84e7c60 Changes & improvements for FileTransfer 2017-11-09 13:00:21 +01:00
Sylvain Berfini
b764f9bb60 Removed appData in ChatMessage 2017-11-09 12:36:49 +01:00
Sylvain Berfini
4957187dfb More cleanup in ChatMessage 2017-11-09 12:27:35 +01:00
Ghislain MARY
deb7f90ab9 Prevent adding ourselves as a participant of a client group chat room. 2017-11-09 11:44:35 +01:00
Sylvain Berfini
2111b62d75 Finished moving file transfer related code from ChatMessage to FileTransferChatMessageModifier 2017-11-09 10:26:50 +01:00
Sylvain Berfini
f6c4f0f5d9 Started to move file transfer related code in ChatMessage into FileTransferChatMessageModifier 2017-11-08 17:53:31 +01:00
Ronan Abhamon
987fca9499 fix(ChatRoom): mark as read correctly chat message 2017-11-08 17:51:56 +01:00
Ghislain MARY
5c857c2db1 Fix build. 2017-11-08 17:17:32 +01:00
Ghislain MARY
cc5ebffda4 Add linphone_chat_room_get_me() API. 2017-11-08 17:12:00 +01:00
Sylvain Berfini
fc2fe482ec Created a FileTransferChatMessageModifier, next step is to move into it file transfer related code from ChatMessage 2017-11-08 16:36:46 +01:00
Sylvain Berfini
34ae5427ce Fixed crash in file transfer message tests 2017-11-08 15:49:57 +01:00
Sylvain Berfini
7dd5d96717 Fixed text + file chat message test 2017-11-08 15:37:04 +01:00
Ghislain MARY
8fcc2ea86f Fix Refer-To address in REFER messages sent by the ClientGroupChatRoom. 2017-11-08 15:24:35 +01:00
Sylvain Berfini
057db03349 Moved from a list of Content to a list of Content* to be able to cast content to specialized version 2017-11-08 15:15:47 +01:00
Sylvain Berfini
ba89633e45 More work related to ChatMessage file transfer 2017-11-08 14:14:25 +01:00
Ronan Abhamon
0118f6ee53 feat(core): remove useless doc on (void)arg 2017-11-08 14:11:50 +01:00
Ghislain MARY
f7b64d5ad5 When adding participants to a ClientGroupChatRoom, check that they are not already in the chat room. 2017-11-08 12:14:33 +01:00
Ghislain MARY
4cd5e7aeab Change the state of the ClientGroupChatRoom to created only when the first NOTIFY has been received. 2017-11-08 12:14:02 +01:00
Benjamin Reis
fe01419470 Do not store nor notify app for full state generated events 2017-11-08 11:58:08 +01:00
Sylvain Berfini
61d11efdc7 Fixed idmn, composing etc... messages trying to be file uploaded... 2017-11-07 16:38:15 +01:00