mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-22 21:58:53 +01:00
Mark conversation unblocked if blocking manager demands it
This commit is contained in:
@@ -68,6 +68,8 @@ class ReceiveMms @Inject constructor(
|
|||||||
|
|
||||||
if (shouldBlock) {
|
if (shouldBlock) {
|
||||||
conversationRepo.markBlocked(message.threadId)
|
conversationRepo.markBlocked(message.threadId)
|
||||||
|
} else {
|
||||||
|
conversationRepo.markUnblocked(message.threadId)
|
||||||
}
|
}
|
||||||
|
|
||||||
message
|
message
|
||||||
|
|||||||
@@ -68,6 +68,8 @@ class ReceiveSms @Inject constructor(
|
|||||||
|
|
||||||
if (shouldBlock) {
|
if (shouldBlock) {
|
||||||
conversationRepo.markBlocked(message.threadId)
|
conversationRepo.markBlocked(message.threadId)
|
||||||
|
} else {
|
||||||
|
conversationRepo.markUnblocked(message.threadId)
|
||||||
}
|
}
|
||||||
|
|
||||||
message
|
message
|
||||||
|
|||||||
Reference in New Issue
Block a user