mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
fix count logic
This commit is contained in:
parent
543f729247
commit
81ef5a744a
|
@ -387,7 +387,8 @@ public extension Message {
|
|||
}
|
||||
}
|
||||
|
||||
let count: Int64 = shouldAddSelfReaction ? rawReaction.count - 1 : rawReaction.count
|
||||
let count: Int64 = rawReaction.you ? rawReaction.count - 1 : rawReaction.count
|
||||
|
||||
let timestampMs: Int64 = Int64(floor((Date().timeIntervalSince1970 * 1000)))
|
||||
let maxLength: Int = shouldAddSelfReaction ? 4 : 5
|
||||
let desiredReactorIds: [String] = reactors
|
||||
|
|
Loading…
Reference in a new issue