From 7a2d087a6de5101d5811fd3e20380912c0e0e493 Mon Sep 17 00:00:00 2001 From: Jachin Rupe Date: Wed, 19 Oct 2016 16:20:38 -0500 Subject: [PATCH] Applying PR https://github.com/vysheng/tg/pull/920/. --- interface.c | 3 ++- tgl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/interface.c b/interface.c index f78619a3..339d7609 100644 --- a/interface.c +++ b/interface.c @@ -4007,7 +4007,8 @@ void print_media (struct in_ev *ev, struct tgl_message_media *M) { default: mprintf (ev, "x = %d\n", M->type); - assert (0); + M->type = tgl_message_media_unsupported; + break; } } diff --git a/tgl b/tgl index ffb04cac..926b2fc1 160000 --- a/tgl +++ b/tgl @@ -1 +1 @@ -Subproject commit ffb04caca71de0cddf28cd33a4575922900a59ed +Subproject commit 926b2fc156ad8ae5269799d28de38727215ee6bf