Open group avatar downloading disabled.

Open group message delete request error logs go to the warning channel now.
This commit is contained in:
Anton Chekulaev 2020-11-10 15:16:01 +11:00
parent e80e8dc761
commit acd8603ee3
2 changed files with 9 additions and 8 deletions

View File

@ -466,12 +466,13 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
publicChatAPI.getChannelInfo(publicChat.getChannel(), publicChat.getServer()).success(info -> {
String groupId = GroupUtil.getEncodedOpenGroupId(publicChat.getId().getBytes());
publicChatAPI.updateProfileIfNeeded(
publicChat.getChannel(),
publicChat.getServer(),
groupId,
info,
false);
//TODO Use same approach as in PublicChatManager#addChat()
// publicChatAPI.updateProfileIfNeeded(
// publicChat.getChannel(),
// publicChat.getServer(),
// groupId,
// info,
// false);
runOnUiThread(ConversationActivity.this::updateSubtitleTextView);
return Unit.INSTANCE;

View File

@ -548,12 +548,12 @@ public class ConversationFragment extends Fragment
}
} else if (!ignoredMessages.contains(serverID)) {
failedMessages.add(messageRecord.getId());
Log.d("Loki", "Failed to delete message: " + messageRecord.getId() + ".");
Log.w("Loki", "Failed to delete message: " + messageRecord.getId() + ".");
}
}
return null;
}). 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;
});
}