fix: last seen timestamp and removing useless echo

This commit is contained in:
Richard Ramos 2021-07-27 10:25:51 -04:00 committed by Iuri Matias
parent c7c3c5dc9d
commit acdb4d3bcb
3 changed files with 1 additions and 3 deletions

View File

@ -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

View File

@ -82,7 +82,6 @@ Item {
radius: 20
color: {
let lastSeenMinutesAgo = (currentTime/1000 - parseInt(lastSeen)) / 60
if (!chatsModel.isOnline) {
return Style.current.darkGrey
}

View File

@ -66,7 +66,7 @@ Item {
publicKey: model.publicKey
name: model.userName
identicon: model.identicon
lastSeen: model.lastSeen
lastSeen: model.lastSeen / 1000
currentTime: root.currentTime
}
}