fix: last seen timestamp and removing useless echo
This commit is contained in:
parent
c7c3c5dc9d
commit
acdb4d3bcb
|
@ -12,7 +12,6 @@ proc handleChatEvents(self: ChatController) =
|
|||
let evArgs = MsgsLoadedArgs(e)
|
||||
self.view.pushMessages(evArgs.messages)
|
||||
for statusUpdate in evArgs.statusUpdates:
|
||||
echo "updating member visibility", $statusUpdate
|
||||
self.view.communities.updateMemberVisibility(statusUpdate)
|
||||
|
||||
# Display emoji reactions
|
||||
|
|
|
@ -82,7 +82,6 @@ Item {
|
|||
radius: 20
|
||||
color: {
|
||||
let lastSeenMinutesAgo = (currentTime/1000 - parseInt(lastSeen)) / 60
|
||||
|
||||
if (!chatsModel.isOnline) {
|
||||
return Style.current.darkGrey
|
||||
}
|
||||
|
|
|
@ -66,7 +66,7 @@ Item {
|
|||
publicKey: model.publicKey
|
||||
name: model.userName
|
||||
identicon: model.identicon
|
||||
lastSeen: model.lastSeen
|
||||
lastSeen: model.lastSeen / 1000
|
||||
currentTime: root.currentTime
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue