mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-21 12:39:58 +01:00
Cancel notifications for group when re-showing chat
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
f3fc375ad9
commit
2f0f90f5f6
@ -450,6 +450,10 @@ public class ChatController extends BaseController implements MessagesListAdapte
|
|||||||
if (getActivity() != null) {
|
if (getActivity() != null) {
|
||||||
new KeyboardUtils(getActivity(), getView(), false);
|
new KeyboardUtils(getActivity(), getView(), false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (inChat) {
|
||||||
|
NotificationUtils.cancelExistingNotifications(getApplicationContext(), conversationUser);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user