Protect debug message in Matrix.Event.Receipt

This commit is contained in:
Gergely Polonkai 2016-03-17 14:55:36 +01:00 committed by Gergely Polonkai
parent 710c575479
commit c547e5c080

View File

@ -56,8 +56,8 @@ public class Matrix.Event.Receipt : Matrix.Event.Base {
if ((node = root.get_member("room_id")) != null) {
_room_id = node.get_string();
} else {
warning("room_id is missing from a m.presence event");
} else if (Config.DEBUG) {
warning("room_id is missing from a m.receipt event");
}
content_root.foreach_member((obj, event_id, event_content) => {