Commit graph

246 commits

Author SHA1 Message Date
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
Sylvain Berfini
c6894b4c86 Fixed file transfer 2017-11-07 16:28:44 +01:00
Sylvain Berfini
1fa52f708e Forgot to set file size when creating the file transfer informations 2017-11-07 15:55:10 +01:00
Sylvain Berfini
d394880149 Removed cFileTransferContent to use only Content objects in chat-message.cpp for file transfer. Fix upload when not using file body handler to do 2017-11-07 15:40:36 +01:00
Ghislain MARY
120117f7b3 Add the SimpleAddress class to ease the comparison of addresses for the conference participants and the list of chat rooms. 2017-11-07 15:27:09 +01:00
Sylvain Berfini
31c00aa3df Fixed issue with file + text message 2017-11-07 13:17:55 +01:00
Sylvain Berfini
95ab4ff585 Fixed broken compil due to dumb mistake 2017-11-07 10:25:25 +01:00
Sylvain Berfini
bcfa66e447 Deprecated getText() on ChatMessage + attempt to fix getText() 2017-11-07 10:23:24 +01:00
Ghislain MARY
d51acdf739 Some small fixes in the addresses handling for conferences. 2017-11-06 16:03:32 +01:00
Sylvain Berfini
f308510501 Fixed multipart chat message with text + file transfer 2017-11-06 14:32:58 +01:00
Benjamin Reis
bea9b7f3d9 uses event directly in internal conference callbacks 2017-11-06 13:36:24 +01:00