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

os x setup done, fixing localtime on each os x wakeup or application active status change

This commit is contained in:
John Preston
2014-11-12 23:30:26 +03:00
parent e0ef1d434d
commit 379c5f75e7
33 changed files with 236 additions and 86 deletions

View File

@@ -1212,7 +1212,7 @@ void DialogsWidget::setInnerFocus() {
}
void DialogsWidget::regTyping(History *history, UserData *user) {
uint64 ms = getms();
uint64 ms = getms(true);
history->typing[user] = ms + 6000;
Histories::TypingHistories::const_iterator i = App::histories().typing.find(history);
@@ -1226,7 +1226,7 @@ void DialogsWidget::regTyping(History *history, UserData *user) {
}
bool DialogsWidget::animStep(float64) {
uint64 ms = getms();
uint64 ms = getms(true);
Histories::TypingHistories &typing(App::histories().typing);
for (Histories::TypingHistories::iterator i = typing.begin(), e = typing.end(); i != e;) {
uint32 typingFrame = (ms - i.value()) / 150;