fix: self send emoji reacts notification

This commit is contained in:
Ryan Zhao 2022-06-27 10:16:38 +10:00
parent ee9d856e3c
commit 42fd617c34

View file

@ -403,7 +403,9 @@ extension MessageReceiver {
case .none:
break
}
SSKEnvironment.shared.notificationsManager?.notifyUser(forReaction: reactMessage, in: thread, transaction: transaction)
if message.sender != getUserHexEncodedPublicKey() {
SSKEnvironment.shared.notificationsManager?.notifyUser(forReaction: reactMessage, in: thread, transaction: transaction)
}
return ""
}
// Parse quote if needed