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
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
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
cf7c300b07
Use GRUU address in From header when sending messages.
2017-11-17 16:57:48 +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
Sylvain Berfini
fd1084b875
Free the contents upon ChatMessage destruction
2017-11-09 16:46:14 +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
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
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
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
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
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
Sylvain Berfini
f308510501
Fixed multipart chat message with text + file transfer
2017-11-06 14:32:58 +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
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
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
Erwan Croze
64e550f764
Merge fix for client group chat room
2017-10-27 13:44:42 +02:00
Ronan Abhamon
e97343cb78
feat(Event): ChatMessageEvent is now a ConferenceEvent
2017-10-20 13:51:56 +02:00
Sylvain Berfini
3af62d98d2
Fixed crash in file transfer due to backgroundtaskid not being initialized + removed unused header in jni
2017-10-19 17:41:01 +02:00