Update to 3.1.3

This commit is contained in:
DrKLO 2015-09-02 01:14:21 +03:00
parent 3e90177277
commit 906746d573
44 changed files with 1523 additions and 407 deletions

View file

@ -1370,12 +1370,8 @@ public class NotificationsController {
if (user == null) {
return;
}
if (user.access_hash != 0) {
((TLRPC.TL_inputNotifyPeer)req.peer).peer = new TLRPC.TL_inputPeerForeign();
((TLRPC.TL_inputNotifyPeer)req.peer).peer.access_hash = user.access_hash;
} else {
((TLRPC.TL_inputNotifyPeer)req.peer).peer = new TLRPC.TL_inputPeerContact();
}
((TLRPC.TL_inputNotifyPeer)req.peer).peer = new TLRPC.TL_inputPeerUser();
((TLRPC.TL_inputNotifyPeer)req.peer).peer.access_hash = user.access_hash;
((TLRPC.TL_inputNotifyPeer)req.peer).peer.user_id = (int)dialog_id;
}