create empty client, add function of collecting user unread messages on channels

This commit is contained in:
2026-05-09 21:40:59 +02:00
parent 53652d1f79
commit 6e3e27e63d
3367 changed files with 3200 additions and 1128383 deletions
+3
View File
@@ -106,6 +106,9 @@ func WsSendEventMessageToPermittedChannelUsersCloseIfTimeout(excluded uuid.UUID,
if err != nil {
continue
}
if target.WsConn == nil {
target.IncrementUnreadMessagesWithCap(channel.Id)
}
WsSendMessageCloseIfTimeout(target, message)
}
}