Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/tgl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvaltman <vvaltman@neon>2014-11-27 16:41:25 +0300
committervvaltman <vvaltman@neon>2014-11-27 16:41:25 +0300
commitb2888bf68e77369ac5ec15eb02477af19cd1197e (patch)
treedf5d9185f30527758764aedda7a5468799eada4a /binlog.c
parentb5614b92b630b5ff1c1357baefff0750ae6e7cb1 (diff)
Added outgoing message flags
Diffstat (limited to 'binlog.c')
-rw-r--r--binlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binlog.c b/binlog.c
index dfaeadd..0324e2e 100644
--- a/binlog.c
+++ b/binlog.c
@@ -814,7 +814,7 @@ static int fetch_comb_binlog_send_message_text (struct tgl_state *TLS, void *ext
assert (!(M->flags & FLAG_CREATED));
}
- M->flags |= FLAG_CREATED;
+ M->flags |= FLAG_CREATED | FLAG_SESSION_OUTBOUND;
M->from_id = TGL_MK_USER (fetch_int ());
int t = fetch_int ();
if (t == TGL_PEER_ENCR_CHAT) {