dont show annoying toast about history fetching policy

This commit is contained in:
kosyak 2024-10-13 23:42:07 +02:00
parent 0a99844a71
commit 07c730098e

View file

@ -2500,7 +2500,9 @@ public class XmppConnectionService extends Service {
query.setCallback(callback); query.setCallback(callback);
callback.informUser(R.string.fetching_history_from_server); callback.informUser(R.string.fetching_history_from_server);
} else { } else {
callback.informUser(R.string.not_fetching_history_retention_period); if (conversation.getMode() != Conversational.MODE_SINGLE || !conversation.hasPermanentCounterpart()) {
callback.informUser(R.string.not_fetching_history_retention_period);
}
} }
} }