diff --git a/tgl b/tgl index 67944b1..31cca91 160000 --- a/tgl +++ b/tgl @@ -1 +1 @@ -Subproject commit 67944b197e4ec383920e8f9484d2c6810dae49cc +Subproject commit 31cca917dccf5c1afeba7404e115f79decb0f526 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) {