Skip to content
Snippets Groups Projects
Unverified Commit 093a75e7 authored by William Reiske's avatar William Reiske Committed by GitHub
Browse files

[FIX] Read receipts showing blank names and not marking messages as read (#18918)

parent 6df12f88
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,6 @@ callbacks.add('afterSaveMessage', (message, room) => { ...@@ -19,6 +19,6 @@ callbacks.add('afterSaveMessage', (message, room) => {
return message; return message;
}, callbacks.priority.MEDIUM, 'message-read-receipt-afterSaveMessage'); }, callbacks.priority.MEDIUM, 'message-read-receipt-afterSaveMessage');
callbacks.add('afterReadMessages', (rid, { userId, lastSeen }) => { callbacks.add('afterReadMessages', (rid, { uid, lastSeen }) => {
ReadReceipt.markMessagesAsRead(rid, userId, lastSeen); ReadReceipt.markMessagesAsRead(rid, uid, lastSeen);
}, callbacks.priority.MEDIUM, 'message-read-receipt-afterReadMessages'); }, callbacks.priority.MEDIUM, 'message-read-receipt-afterReadMessages');
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment