diff --git a/app/js/directives.js b/app/js/directives.js index 506897bb..15bc5b98 100755 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -2679,7 +2679,8 @@ angular.module('myApp.directives', ['myApp.filters']) var key = short ? 'rFirstName' : 'rFullName'; element.html( - (override[key] || user[key] || '').valueOf() + (override[key] || user[key] || '').valueOf() + + (attrs.verified && user.pFlags && user.pFlags.verified ? ' ' : '') ); if (attrs.color && $scope.$eval(attrs.color)) { element.addClass('user_color_' + user.num); diff --git a/app/js/messages_manager.js b/app/js/messages_manager.js index 070f811a..546a3eff 100644 --- a/app/js/messages_manager.js +++ b/app/js/messages_manager.js @@ -1731,6 +1731,7 @@ angular.module('myApp.services') var unreadCount = dialog && dialog.unread_count; if (useCache && messagesForDialogs[msgID] !== undefined) { + delete messagesForDialogs[msgID].typing; return messagesForDialogs[msgID]; } diff --git a/app/js/services.js b/app/js/services.js index 77c9782b..3c902f0e 100755 --- a/app/js/services.js +++ b/app/js/services.js @@ -120,7 +120,8 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils']) deleted: (apiUser.flags & (1 << 13)) > 0, bot: (apiUser.flags & (1 << 14)) > 0, botNoPrivacy: (apiUser.flags & (1 << 15)) > 0, - botNoGroups: (apiUser.flags & (1 << 16)) > 0 + botNoGroups: (apiUser.flags & (1 << 16)) > 0, + verified: (apiUser.flags & (1 << 17)) > 0 }; apiUser.sortName = apiUser.pFlags.deleted ? '' : SearchIndexManager.cleanSearchText(apiUser.first_name + ' ' + (apiUser.last_name || '')); diff --git a/app/partials/desktop/im.html b/app/partials/desktop/im.html index c2707912..1706c934 100644 --- a/app/partials/desktop/im.html +++ b/app/partials/desktop/im.html @@ -37,7 +37,7 @@