diff --git a/src/matrix-event-room-third-party-invite.vala b/src/matrix-event-room-third-party-invite.vala index 95f19f2..b4b1419 100644 --- a/src/matrix-event-room-third-party-invite.vala +++ b/src/matrix-event-room-third-party-invite.vala @@ -96,7 +96,7 @@ public class Matrix.Event.RoomThirdPartyInvite : Matrix.Event.State { if ((node = root.get_member("state_key")) != null) { _state_key = node.get_string(); - } else { + } else if (Config.DEBUG) { warning("state_key is missing from a m.room.third_party_invite_event"); }