dont show annoying toast about history fetching policy
This commit is contained in:
parent
0a99844a71
commit
07c730098e
|
@ -2500,8 +2500,10 @@ 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 {
|
||||||
|
if (conversation.getMode() != Conversational.MODE_SINGLE || !conversation.hasPermanentCounterpart()) {
|
||||||
callback.informUser(R.string.not_fetching_history_retention_period);
|
callback.informUser(R.string.not_fetching_history_retention_period);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue