fix self-chat read state: mark own outgoing messages as read locally
Self-chat returned early in sendDisplayedMarkerIfNeeded, so outgoing messages never reached markRead and never showed the Read status.
This commit is contained in:
1 parent
16c9fab509
commit
8a2af872d6
2 files changed
+20
-2
No files matched your search
@@ -425,6 +425,10 @@ grep -q 'markersPublisher' Sources/Shared/XMPP/XMPPService.swift || {
|
||||
echo "XEP-0333 displayed markers must mark messages as read"
|
||||
exit 1
|
||||
}
|
||||
grep -q 'markRead(at: index, cameFromPeer: false)' Sources/Shared/Models/AppModel.swift || {
|
||||
echo "Self-chat must mark its own outgoing messages as read locally"
|
||||
exit 1
|
||||
}
|
||||
grep -q 'case read(conversationJID' Sources/Shared/XMPP/XMPPService.swift || {
|
||||
echo "Read receipts must reference the conversation"
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user