mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
add comments
This commit is contained in:
parent
4934714eae
commit
d83100e3a0
1 changed files with 1 additions and 1 deletions
|
@ -868,7 +868,7 @@ extension ConversationVC : InputViewDelegate, MessageCellDelegate, ContextMenuAc
|
|||
let firstTimestamp = General.Cache.recentReactionTimestamps.wrappedValue.first!
|
||||
if sentTimestamp - firstTimestamp < 60 * 1000 {
|
||||
General.Cache.recentReactionTimestamps.mutate{ $0.removeLast() }
|
||||
return
|
||||
return // Reach the limit 20 reacts per 60s
|
||||
} else {
|
||||
General.Cache.recentReactionTimestamps.mutate{ $0.removeFirst() }
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue