forked from MirrorHub/mautrix-whatsapp
Simplify expression
This commit is contained in:
parent
7247e9b2e6
commit
87c4cd6c20
1 changed files with 1 additions and 1 deletions
|
@ -3075,7 +3075,7 @@ func (portal *Portal) HandleMatrixMessage(sender *User, evt *event.Event) {
|
|||
return
|
||||
}
|
||||
|
||||
messageAge := time.Now().Sub(time.UnixMilli(evt.Timestamp))
|
||||
messageAge := time.Since(time.UnixMilli(evt.Timestamp))
|
||||
ms := metricSender{portal: portal}
|
||||
|
||||
origEvtID := evt.ID
|
||||
|
|
Loading…
Reference in a new issue