Browse Source

Fixed channel draft

Closes #1226
master
Igor Zhukov 8 years ago
parent
commit
7b62614a94
  1. 4
      app/js/services.js

4
app/js/services.js

@ -4713,6 +4713,10 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
if (!peerID) { if (!peerID) {
console.trace('empty peerID') console.trace('empty peerID')
} }
if (peerID < 0 &&
AppChatsManager.hasRights(-peerID, 'send')) {
draft = false
}
if (!draft) { if (!draft) {
draft = { draft = {
text: '', text: '',

Loading…
Cancel
Save