Commit graph

230 commits

Author SHA1 Message Date
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
Sylvain Berfini
c036343151 Added a test for file transfer with text content 2017-11-06 11:45:22 +01:00
Sylvain Berfini
af0db8a7ea Added new APIs to manipulate Contents inside ChatMessage 2017-11-06 11:05:44 +01:00
Benjamin Reis
d97c796d26 add isFullState info to conference-event-packages-callbacks 2017-11-03 15:56:19 +01:00
Sylvain Berfini
e26ce48bfd Call chatroom state changed with CreationError state when group chat room fails 2017-11-03 11:34:02 +01:00
Ronan Abhamon
fb18a7c7a9 fix(ChatMessage): remove useless test on getCore 2017-11-03 11:12:20 +01:00
Ronan Abhamon
a7ff19566d fix(core): misc =>
- return nullptr if conference factory uri is not set
  - Address object is now more robust
  - remove custom SharedFromThis object
  - CoreAccessor throw exception if core is destroyed
  - Core must be created with a static method
  - Partial fetch of chat message
  - ...
2017-11-03 10:38:50 +01:00
Ronan Abhamon
223bd817a9 feat(core): break completely old message storage api impl 2017-11-02 12:03:16 +01:00
Sylvain Berfini
53c83d3585 Fixed ChatRoom state changed with Created state before RAM insertion breaking find 2017-10-31 17:34:13 +01:00
Sylvain Berfini
94c08dce7f Use CPIM by default 2017-10-31 10:01:13 +01:00
Sylvain Berfini
3b4e32cb8e Fixed sent message getText() and getContentType() values 2017-10-30 15:17:26 +01:00
Sylvain Berfini
637595573d Added callback on message being sent 2017-10-30 14:48:10 +01:00
Ronan Abhamon
edf85afab9 fix(Core): use better workaround for bad conference sip addresses returned by flexisip 2017-10-30 11:56:56 +01:00
Sylvain Berfini
f702e9a8fe Added new callback for message received on chat room with chat event log 2017-10-30 11:50:57 +01:00
Ronan Abhamon
7106d92b84 fix(ChatRoom): remove useless includes in ServerGroupChatRoomStub, fix conding style, ... 2017-10-27 14:41:27 +02:00
Erwan Croze
64e550f764 Merge fix for client group chat room 2017-10-27 13:44:42 +02:00
Ronan Abhamon
b64ae8a57b fix(Core): load correctly chat rooms 2017-10-27 09:23:33 +02:00