mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-26 11:57:20 +00:00
Open group avatar downloading disabled.
Open group message delete request error logs go to the warning channel now.
This commit is contained in:
parent
e80e8dc761
commit
acd8603ee3
@ -466,12 +466,13 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
|||||||
publicChatAPI.getChannelInfo(publicChat.getChannel(), publicChat.getServer()).success(info -> {
|
publicChatAPI.getChannelInfo(publicChat.getChannel(), publicChat.getServer()).success(info -> {
|
||||||
String groupId = GroupUtil.getEncodedOpenGroupId(publicChat.getId().getBytes());
|
String groupId = GroupUtil.getEncodedOpenGroupId(publicChat.getId().getBytes());
|
||||||
|
|
||||||
publicChatAPI.updateProfileIfNeeded(
|
//TODO Use same approach as in PublicChatManager#addChat()
|
||||||
publicChat.getChannel(),
|
// publicChatAPI.updateProfileIfNeeded(
|
||||||
publicChat.getServer(),
|
// publicChat.getChannel(),
|
||||||
groupId,
|
// publicChat.getServer(),
|
||||||
info,
|
// groupId,
|
||||||
false);
|
// info,
|
||||||
|
// false);
|
||||||
|
|
||||||
runOnUiThread(ConversationActivity.this::updateSubtitleTextView);
|
runOnUiThread(ConversationActivity.this::updateSubtitleTextView);
|
||||||
return Unit.INSTANCE;
|
return Unit.INSTANCE;
|
||||||
|
@ -548,12 +548,12 @@ public class ConversationFragment extends Fragment
|
|||||||
}
|
}
|
||||||
} else if (!ignoredMessages.contains(serverID)) {
|
} else if (!ignoredMessages.contains(serverID)) {
|
||||||
failedMessages.add(messageRecord.getId());
|
failedMessages.add(messageRecord.getId());
|
||||||
Log.d("Loki", "Failed to delete message: " + messageRecord.getId() + ".");
|
Log.w("Loki", "Failed to delete message: " + messageRecord.getId() + ".");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}). fail(e -> {
|
}). fail(e -> {
|
||||||
Log.d("Loki", "Couldn't delete message due to error: " + e.toString() + ".");
|
Log.w("Loki", "Couldn't delete message due to error: " + e.toString() + ".");
|
||||||
return null;
|
return null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user