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) {
|
function fillHistoryStorage (inputPeer, maxID, fullLimit, historyStorage) {
|
||||||
|
// console.log('fill history storage', inputPeer, maxID, fullLimit, angular.copy(historyStorage));
|
||||||
return MtpApiManager.invokeApi('messages.getHistory', {
|
return MtpApiManager.invokeApi('messages.getHistory', {
|
||||||
peer: inputPeer,
|
peer: inputPeer,
|
||||||
offset: 0,
|
offset: 0,
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
<h4 ng-switch-when="video">Videos</h4>
|
<h4 ng-switch-when="video">Videos</h4>
|
||||||
<h4 ng-switch-when="documents">Documents</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">
|
<div ng-switch-when="true">
|
||||||
<span ng-bind-html="historyPeer.data.rFullName"></span>
|
<span ng-bind-html="historyPeer.data.rFullName"></span>
|
||||||
<small class="im_peer_online">{{historyPeer.data | userStatus}}</small>
|
<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>
|
<button class="btn btn-link dropdown-toggle">More<i class="icon icon-caret"></i></button>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
<li ng-if="user._ == 'userContact'">
|
<li ng-if="user._ == 'userContact'">
|
||||||
<a ng-click="importContact(true)">Edit</a>
|
<a ng-click="importContact(true)">Edit contact</a>
|
||||||
</li>
|
</li>
|
||||||
<li ng-if="user._ == 'userContact'">
|
<li ng-if="user._ == 'userContact'">
|
||||||
<a ng-click="deleteContact()">Delete Contact</a>
|
<a ng-click="deleteContact()">Delete contact</a>
|
||||||
</li>
|
</li>
|
||||||
<li ng-if="user.phone.length > 0 && user._ != 'userContact'">
|
<li ng-if="user.phone.length > 0 && user._ != 'userContact'">
|
||||||
<a ng-click="importContact()">Add to contacts</a>
|
<a ng-click="importContact()">Add to contacts</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user