diff options
author | mjentsch <mtthsjntsch@gmail.com> | 2015-05-25 23:36:30 +0300 |
---|---|---|
committer | mjentsch <mtthsjntsch@gmail.com> | 2015-05-25 23:36:30 +0300 |
commit | f092273bf66e89deac00a858e43ded394688fc84 (patch) | |
tree | 0fffb55665b3c8801b665b5e8da6276272c61370 /tgp-utils.c | |
parent | bad92d3bd6149c5c683f21a6b846bee6349efa2b (diff) |
Fix displaying messages send from other sessions
Diffstat (limited to 'tgp-utils.c')
-rw-r--r-- | tgp-utils.c | 2 |
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) { |