mirror of
https://git.quad4.io/RNS-Things/MeshChatX.git
synced 2026-04-27 23:46:05 +00:00
Refactor message count assignment for current identities
This commit is contained in:
@@ -4401,7 +4401,9 @@ class ReticulumMeshChat:
|
||||
if self.database:
|
||||
for item in identities:
|
||||
if item.get("is_current"):
|
||||
item["message_count"] = self.database.messages.count_lxmf_messages()
|
||||
item["message_count"] = (
|
||||
self.database.messages.count_lxmf_messages()
|
||||
)
|
||||
break
|
||||
return web.json_response(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user