2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Remove Session::Exists() global access point.

This commit is contained in:
John Preston
2020-06-10 17:24:41 +04:00
parent 5f8d22f1f2
commit 598fb67cdf
19 changed files with 119 additions and 133 deletions

View File

@@ -557,7 +557,7 @@ void EmojiKeywords::refresh() {
}
std::vector<QString> EmojiKeywords::languages() {
if (!Main::Session::Exists()) {
if (!_api) {
return {};
}
refreshInputLanguages();