Patch up Matrix.Event.RoomThirdPartyInvite
* Print debug messages only if debug is enabled
This commit is contained in:
parent
49a8b1f665
commit
d714661c17
@ -96,7 +96,7 @@ public class Matrix.Event.RoomThirdPartyInvite : Matrix.Event.State {
|
|||||||
|
|
||||||
if ((node = root.get_member("state_key")) != null) {
|
if ((node = root.get_member("state_key")) != null) {
|
||||||
_state_key = node.get_string();
|
_state_key = node.get_string();
|
||||||
} else {
|
} else if (Config.DEBUG) {
|
||||||
warning("state_key is missing from a m.room.third_party_invite_event");
|
warning("state_key is missing from a m.room.third_party_invite_event");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user