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

Cloud stored drafts started.

This commit is contained in:
John Preston
2016-05-31 12:46:31 +03:00
parent 7f353d9b1a
commit 916068447a
18 changed files with 230 additions and 93 deletions

View File

@@ -2439,7 +2439,11 @@ namespace Local {
}
bool hasDraftCursors(const PeerId &peer) {
return (_draftCursorsMap.constFind(peer) != _draftCursorsMap.cend());
return _draftCursorsMap.contains(peer);
}
bool hasDraft(const PeerId &peer) {
return _draftsMap.contains(peer);
}
void writeFileLocation(MediaKey location, const FileLocation &local) {