mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
marked chat replied to as being noticed
when replying from within a notification, the corresponding chat should be marked as being noticed as well. otherwise, it looks wrong that one has replied to a chat, but still the chat is shown as being "unread". the 'reply' from a notification should leave the chat in the same state as 'dismiss' resp. 'mark read' - plus the added message.
This commit is contained in:
@@ -58,6 +58,7 @@ public class RemoteReplyReceiver extends BroadcastReceiver {
|
||||
if (responseText != null) {
|
||||
Util.runOnAnyBackgroundThread(() -> {
|
||||
DcContext dcContext = DcHelper.getAccounts(context).getAccount(accountId);
|
||||
dcContext.marknoticedChat(chatId);
|
||||
if (dcContext.getChat(chatId).isContactRequest()) {
|
||||
dcContext.acceptChat(chatId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user