Fixed IM panel click
This commit is contained in:
parent
36394abadb
commit
d60fe645f3
@ -779,6 +779,7 @@ angular.module('myApp.services', [])
|
||||
}
|
||||
|
||||
function fillHistoryStorage (inputPeer, maxID, fullLimit, historyStorage) {
|
||||
// console.log('fill history storage', inputPeer, maxID, fullLimit, angular.copy(historyStorage));
|
||||
return MtpApiManager.invokeApi('messages.getHistory', {
|
||||
peer: inputPeer,
|
||||
offset: 0,
|
||||
|
@ -95,7 +95,7 @@
|
||||
<h4 ng-switch-when="video">Videos</h4>
|
||||
<h4 ng-switch-when="documents">Documents</h4>
|
||||
|
||||
<h4 ng-switch-default ng-switch="historyPeer.id > 0">
|
||||
<h4 ng-switch-default ng-switch="historyPeer.id > 0" ng-click="showPeerInfo()">
|
||||
<div ng-switch-when="true">
|
||||
<span ng-bind-html="historyPeer.data.rFullName"></span>
|
||||
<small class="im_peer_online">{{historyPeer.data | userStatus}}</small>
|
||||
|
@ -29,10 +29,10 @@
|
||||
<button class="btn btn-link dropdown-toggle">More<i class="icon icon-caret"></i></button>
|
||||
<ul class="dropdown-menu">
|
||||
<li ng-if="user._ == 'userContact'">
|
||||
<a ng-click="importContact(true)">Edit</a>
|
||||
<a ng-click="importContact(true)">Edit contact</a>
|
||||
</li>
|
||||
<li ng-if="user._ == 'userContact'">
|
||||
<a ng-click="deleteContact()">Delete Contact</a>
|
||||
<a ng-click="deleteContact()">Delete contact</a>
|
||||
</li>
|
||||
<li ng-if="user.phone.length > 0 && user._ != 'userContact'">
|
||||
<a ng-click="importContact()">Add to contacts</a>
|
||||
|
Loading…
Reference in New Issue
Block a user