You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
385 B

diff --git a/structures.c b/structures.c
index 994f759..9bb6def 100644
--- a/tgl/structures.c
+++ b/tgl/structures.c
@@ -941,7 +941,8 @@ void tglf_fetch_message_media_new (struct tgl_state *TLS, struct tgl_message_med
M->venue.venue_id = DS_STR_DUP (DS_MM->venue_id);
break;
default:
- assert (0);
+ M->type = tgl_message_media_unsupported;
+ break;
}
}