From d714661c1753d9ed3bc63ea7762a84999542aa67 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 9 Mar 2016 16:19:04 +0100 Subject: [PATCH] Patch up Matrix.Event.RoomThirdPartyInvite * Print debug messages only if debug is enabled --- src/matrix-event-room-third-party-invite.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }