diff --git a/app/js/controllers.js b/app/js/controllers.js
index 87d08cf2..84c2ccc6 100644
--- a/app/js/controllers.js
+++ b/app/js/controllers.js
@@ -603,6 +603,10 @@ angular.module('myApp.controllers', ['myApp.i18n'])
$rootScope.$broadcast('history_focus', params)
}
+ $scope.scrollChatToBottom = function () {
+ $scope.$broadcast('ui_history_change_scroll', true)
+ }
+
$scope.logOut = function () {
ErrorService.confirm({type: 'LOGOUT'}).then(function () {
MtpApiManager.logOut().then(function () {
diff --git a/app/partials/desktop/dialog.html b/app/partials/desktop/dialog.html
index 5d4b6536..fe001360 100644
--- a/app/partials/desktop/dialog.html
+++ b/app/partials/desktop/dialog.html
@@ -1,4 +1,4 @@
-
+