1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 14:47:29 +00:00
This commit is contained in:
Ammar Githam 2021-03-18 21:50:39 +09:00
parent ab487b79ae
commit 565a8d3dd6

View File

@ -279,6 +279,7 @@ public class DirectThreadViewModel extends AndroidViewModel {
} }
public void markAsSeen() { public void markAsSeen() {
if (currentUser == null) return;
final DirectThread thread = getThread().getValue(); final DirectThread thread = getThread().getValue();
if (thread == null) return; if (thread == null) return;
final List<DirectItem> items = thread.getItems(); final List<DirectItem> items = thread.getItems();