Patch up Matrix.Event.RoomThirdPartyInvite

* Print debug messages only if debug is enabled
This commit is contained in:
Gergely Polonkai 2016-03-09 16:19:04 +01:00 committed by Gergely Polonkai
parent 49a8b1f665
commit d714661c17
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}