Marcel Müller
68b6ee97e3
Update unread marker even when message timestamp and lastActivity are equal
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-03-10 13:23:23 +01:00
Marcel Müller
e57331297b
Support for writing messages when offline
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2022-12-01 23:47:29 +01:00
Marcel Müller
2dd1c2a8e8
Donate intent when a chat message was sent
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2022-10-19 11:48:05 +02:00
Ivan Sein
d9e99c7371
Remove messages from chat view and local storage when they expire.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-09-20 15:12:36 +02:00
Ivan Sein
6df1c7150a
Add "Send silently" option.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-06-23 17:43:38 +02:00
Ivan Sein
0548a9421b
Do not manually update room last message with invisible messages.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-04-21 17:24:39 +02:00
Ivan Sein
b2236292b5
Do not update reactionsSelf when updating message received as room's lastMessage.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-04-21 11:20:42 +02:00
Ivan Sein
6f248e5c55
Create isUpdateMessage function for chat messages.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-04-08 17:11:18 +02:00
Ivan Sein
a353b1c074
Handle "reaction_deleted".
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-04-04 11:06:23 +02:00
Ivan Sein
894b87355c
Show chat messages reactions.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-04-01 20:52:44 +02:00
Ivan Sein
b1671e9a6a
Update messages that have received a reaction.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-03-30 18:05:53 +02:00
Ivan Sein
ce2818e678
Overwrite room hasCall property when receiving call started/ended system messages.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-02-08 19:11:14 +01:00
Ivan Sein
cdd263d689
Handle "history_cleared" message.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-07-16 18:50:50 +02:00
Ivan Sein
1d13465d94
Imports clean-up and sorting.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-05-27 16:08:41 +02:00
Ivan Sein
0e258c3d71
Clean up project targets and classes refactoring to be able to build the project with XCode 12.5.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-05-26 21:58:50 +02:00
Marcel Müller
3f32d14e46
Handle deleted messages system message when received in background
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-03-07 14:32:23 +01:00
Marcel Müller
f36e4bad9c
Update lastMessage when receiving initialHistory as well
...
There could be new messages which were added in a background task, so update the state of the room accordingly
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-03-07 13:44:44 +01:00
Marcel Müller
aae33b14f6
Move check for last common read message to own method
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-03-07 13:42:02 +01:00
Marcel Müller
42d1475725
Add checkForNewMessagesFromMessageId to NCChatController
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-03-07 13:40:55 +01:00
Marcel Müller
6e12f3c0c0
Add updateHistoryInBackground
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-03-06 17:43:06 +01:00
Marcel Müller
63e0eebcf6
Add updateLastMessage to NCRoomsManager
...
Use updatePendingMessage instead of updateRoomLocal
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-03-06 17:30:48 +01:00
Marcel Müller
28a269e7b5
Add setReadMarker as parameter to receiveChatMessagesOfRoom
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-03-06 17:25:33 +01:00
Ivan Sein
e0ebbd14d0
Handle messages deletion.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-02-02 19:38:16 +01:00
Ivan Sein
8f14931e04
Use room's lastCommonReadMessage attribute directly.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-14 12:00:31 +01:00
Marcel Müller
899366148f
Updated comment
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-13 19:37:25 +01:00
Marcel Müller
32a148ac3f
Update room information when receiving new messages
...
Removed NCChatControllerDidRemoveTemporaryMessagesNotification
Replace temporary message with real message
Simplified loading of new messages in chat view
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-01-13 19:37:25 +01:00
Ivan Sein
4bc4accc46
Merge pull request #455 from nextcloud/fix-temporary-message-history-crash
...
Fix temporary message history crash
2021-01-13 15:26:16 +01:00
Ivan Sein
2b971af17f
Move lastCommonReadMessage handling to chatcontroller and only update cells that need to be updated when receiving a newer common read message.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-05 16:52:52 +01:00
Ivan Sein
0e83e41b34
Send lastCommonReadMessage ID when polling for messages to receive updates of lastCommonReadMessage.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-01-05 11:35:02 +01:00
Marcel Müller
fdc4debe45
Make sure query is unique when querying temporary messages
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2020-12-28 17:05:04 +01:00
Ivan Sein
4218c94ac7
Display "Read" status.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2020-12-22 16:23:31 +01:00
Ivan Sein
29371b4d3a
Rename project from VideoCalls to NextcloudTalk.
...
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2020-10-14 18:18:25 +02:00