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

github.com/majn/telegram-purple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjentsch <mtthsjntsch@gmail.com>2015-05-25 23:36:30 +0300
committermjentsch <mtthsjntsch@gmail.com>2015-05-25 23:36:30 +0300
commitf092273bf66e89deac00a858e43ded394688fc84 (patch)
tree0fffb55665b3c8801b665b5e8da6276272c61370 /tgp-utils.c
parentbad92d3bd6149c5c683f21a6b846bee6349efa2b (diff)
Fix displaying messages send from other sessions
Diffstat (limited to 'tgp-utils.c')
-rw-r--r--tgp-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tgp-utils.c b/tgp-utils.c
index 8bfafe6..b685592 100644
--- a/tgp-utils.c
+++ b/tgp-utils.c
@@ -79,7 +79,7 @@ int str_not_empty (const char *string) {
}
int tgp_outgoing_msg (struct tgl_state *TLS, struct tgl_message *M) {
- return (M->flags & TGLMF_OUT);
+ return (M->flags & TGLMF_SESSION_OUTBOUND);
}
int tgp_our_msg (struct tgl_state *TLS, struct tgl_message *M) {