mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-08 07:57:28 +00:00
close #871
This commit is contained in:
parent
2e6aab041a
commit
db22500eed
@ -179,6 +179,9 @@ public final class ThreadManager {
|
||||
return null;
|
||||
}
|
||||
final DirectInbox inbox = inboxResource.data;
|
||||
if (inbox == null) {
|
||||
return null;
|
||||
}
|
||||
final List<DirectThread> threads = inbox.getThreads();
|
||||
if (threads == null || threads.isEmpty()) {
|
||||
return null;
|
||||
@ -264,7 +267,7 @@ public final class ThreadManager {
|
||||
}
|
||||
|
||||
private List<User> getUsersWithCurrentUser(final DirectThread t) {
|
||||
final ImmutableList.Builder<User> builder = ImmutableList.<User>builder();
|
||||
final ImmutableList.Builder<User> builder = ImmutableList.builder();
|
||||
if (currentUser != null) {
|
||||
builder.add(currentUser);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user