Patryk Osmaczko
4086e24365
fix: close messenger's databases in tests
2023-11-28 20:59:25 +01:00
Igor Sirotin
5422b867f3
Hotfix: mark `Chat` and `Pin` archive messages as seen ( #3992 ) ( #3999 )
2023-09-07 13:33:20 +03:00
Andrea Maria Piana
8dd1b66d69
Always use protobufs by reference & generate handlers
2023-08-22 12:08:54 +01:00
Andrea Maria Piana
55f7ac420d
Make sure image URL are preserved when deleting a message for me
...
When deleting a message for me, the image url wasn't preserved,
resulting in the image disappearing on the client side.
This commit adds the processing of returned messages so that the image
is preserved.
2023-06-30 11:12:26 +01:00
Andrea Maria Piana
6e19098dee
Run tests separately, make sure messenger is shutdown, fix torrent test
2023-06-23 11:30:04 +01:00
Andrea Maria Piana
37653638bc
Make sure the image URL is returned when a replied message is deleted
...
When we reply to our own message with an image, we didn't set the URL of
the image of the message, which resulted in the image not being
displayed correctly.
2023-06-12 19:22:26 +01:00
Jonathan Rainville
9151aa7f04
fix(unviewed): fix edge case where unviewed count would be -1 ( #3491 ) ( #3496 )
2023-05-16 12:11:52 -04:00
Jonathan Rainville
34127cd14f
fix(messenger_handler): fix checkForDeletes logic with images ( #3477 ) ( #3488 )
2023-05-16 11:00:49 -04:00
Volodymyr Kozieiev
a669e7d038
More fields added to ChatPreview. LastMessage now can be a deleted message ( #3397 )
2023-05-08 18:02:54 +01:00
Jonathan Rainville
79cbe6a410
fix(mentions): deleting or editing a mention should remove the mention ( #3421 )
...
* fix(mentions): deleting or editing a mention should remove the mention
* test(edit): add a test for mentions in edits
* test(delete): add test for deleting a message with a mention
2023-04-27 10:22:26 -04:00
Boris Melnik
2950d37e43
feat(edit-message): Edit image messages ( #3393 )
...
* feat(edit-message): Edit image messages
* feat(edit-message): Adds tests for edit image messages text
* chore(messenger_messages): Replace ErrChatNotFound duplications
2023-04-26 14:10:17 +03:00
Jonathan Rainville
62da2d404c
fix(image-album): make sure to delete all images part of an album ( #3380 )
...
* fix(image-album): make sure to delete all images part of an album
* test(delete): add test that deletes a message part of an album
* test(delete): add test where the signal to delete images is after
also adds the handling of deleteForMe
* fix(delete): add album deletion handling for deleteForMe
2023-04-14 13:17:56 -04:00
yqrashawn
d4ec412df2
feat: add deleted by xxx support ( #3077 )
2023-02-01 08:57:35 +08:00
frank
684e9654de
Allow owner/admin to delete messages of a community ( #2958 )
2022-12-02 19:34:02 +08:00
Samuel Hawksby-Robinson
bd3f0f436b
Turning the tests back on ( #2519 )
2022-02-03 20:37:41 +00:00
Vitaliy Vlasov
f271277b76
Disable failing tests
...
Fix lint
2021-11-30 20:52:47 +02:00
Andrea Maria Piana
83394e0ed1
Add chatID to removed messages
2021-08-25 12:21:40 +03:00
Roman Volosovskyi
45212b0823
[ status-im/status-react#12450 ] Add push notification for deleted message
2021-08-20 11:26:46 +03:00
Andrea Maria Piana
482518d179
Fix last message deletion
2021-08-20 10:07:14 +02:00
RichΛrd
dae447466f
fix: delete messages when the signal arrives before the OG msg ( #2310 )
...
* fix: delete messages when the signal arrives before the OG msg
* fix: code review
2021-08-13 13:10:32 -04:00
Jonathan Rainville
cdc7c55030
Delete messages ( #2279 )
...
* feat: add api and handling to delete messages
* fix(delete): add whitelist to message types that can be deleted
2021-07-26 17:06:32 -04:00