Fixed flags for messages sent to self
This commit is contained in:
parent
057a36c3ba
commit
e916244391
@ -1359,7 +1359,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
id: messageID,
|
id: messageID,
|
||||||
from_id: fromID,
|
from_id: fromID,
|
||||||
to_id: AppPeersManager.getOutputPeer(peerID),
|
to_id: AppPeersManager.getOutputPeer(peerID),
|
||||||
flags: 3,
|
flags: peerID == fromID ? 0 : 3,
|
||||||
date: tsNow(true) + serverTimeOffset,
|
date: tsNow(true) + serverTimeOffset,
|
||||||
message: text,
|
message: text,
|
||||||
random_id: randomIDS,
|
random_id: randomIDS,
|
||||||
@ -1478,7 +1478,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
id: messageID,
|
id: messageID,
|
||||||
from_id: fromID,
|
from_id: fromID,
|
||||||
to_id: AppPeersManager.getOutputPeer(peerID),
|
to_id: AppPeersManager.getOutputPeer(peerID),
|
||||||
flags: 3,
|
flags: peerID == fromID ? 0 : 3,
|
||||||
date: tsNow(true) + serverTimeOffset,
|
date: tsNow(true) + serverTimeOffset,
|
||||||
message: '',
|
message: '',
|
||||||
media: media,
|
media: media,
|
||||||
@ -1632,7 +1632,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
|||||||
id: messageID,
|
id: messageID,
|
||||||
from_id: fromID,
|
from_id: fromID,
|
||||||
to_id: AppPeersManager.getOutputPeer(peerID),
|
to_id: AppPeersManager.getOutputPeer(peerID),
|
||||||
flags: 3,
|
flags: peerID == fromID ? 0 : 3,
|
||||||
date: tsNow(true) + serverTimeOffset,
|
date: tsNow(true) + serverTimeOffset,
|
||||||
message: '',
|
message: '',
|
||||||
media: media,
|
media: media,
|
||||||
|
Loading…
Reference in New Issue
Block a user