2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 07:05:13 +00:00

Save self to local storage map.

This commit is contained in:
John Preston
2018-09-11 17:36:09 +03:00
parent 0c8709ca5f
commit 34665cd6da
9 changed files with 313 additions and 218 deletions

View File

@@ -323,7 +323,8 @@ namespace App {
if (data->loadedStatus == PeerData::NotLoaded) {
data->loadedStatus = PeerData::MinimalLoaded;
}
} else if (data->loadedStatus != PeerData::FullLoaded) {
} else if (data->loadedStatus != PeerData::FullLoaded
&& (!data->isSelf() || !data->phone().isEmpty())) {
data->loadedStatus = PeerData::FullLoaded;
}