don't try to set read marker if userID is null
This commit is contained in:
parent
4c4ebcb272
commit
2a4f5e3462
1 changed files with 5 additions and 4 deletions
|
|
@ -486,10 +486,11 @@ class ChatController extends State<ChatPageWithRoom>
|
|||
|
||||
void setReadMarker({String? eventId}) {
|
||||
// #Pangea
|
||||
if (eventId != null &&
|
||||
(eventId.contains("web") ||
|
||||
eventId.contains("android") ||
|
||||
eventId.contains("ios"))) {
|
||||
if (room.client.userID == null ||
|
||||
eventId != null &&
|
||||
(eventId.contains("web") ||
|
||||
eventId.contains("android") ||
|
||||
eventId.contains("ios"))) {
|
||||
return;
|
||||
}
|
||||
// Pangea#
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue