summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-05-24 12:24:38 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-05-24 15:12:52 +0000
commit7017f8c8b4abec869ead7faee564403ea359e3c9 (patch)
tree02e13012980358391d0acb8216b29c45e171e280 /tests
parentfff00d66230ca1ae1585f4b5905810a998bca6b1 (diff)
fix(chat): Update own read marker before triggering events when posting
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/features/chat-2/unread-messages.feature4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/integration/features/chat-2/unread-messages.feature b/tests/integration/features/chat-2/unread-messages.feature
index 42ee02ac3..a15014189 100644
--- a/tests/integration/features/chat-2/unread-messages.feature
+++ b/tests/integration/features/chat-2/unread-messages.feature
@@ -109,12 +109,12 @@ Feature: chat-2/unread-messages
| roomName | room |
And user "participant1" adds user "participant2" to room "group room" with 200 (v4)
When user "participant1" shares "welcome.txt" with room "group room"
- # Unread counter for sender is not cleared in this case, as it is not
+ # Unread counter for sender is cleared in this case, as it is not
# possible to know whether the file was shared from Talk, which could clear
# the counter, or from the Files app, which should not clear it.
Then user "participant1" is participant of room "group room" (v4)
| unreadMessages |
- | 1 |
+ | 0 |
And user "participant2" is participant of room "group room" (v4)
| unreadMessages |
| 1 |