mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Bump timestamp up to an hour
This commit is contained in:
parent
e2fbb2a26c
commit
8dfa7f5b14
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ extension MessageEntity {
|
|||
|
||||
func displayTimestamp(aboveMessage: MessageEntity?) -> Bool {
|
||||
if let aboveMessage = aboveMessage {
|
||||
return aboveMessage.timestamp.addingTimeInterval(900) < timestamp // 15 minutes
|
||||
return aboveMessage.timestamp.addingTimeInterval(3600) < timestamp // 60 minutes
|
||||
}
|
||||
return false // First message will have no timestamp
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue