Protect debug message in Matrix.Event.Receipt
This commit is contained in:
parent
710c575479
commit
c547e5c080
@ -56,8 +56,8 @@ public class Matrix.Event.Receipt : Matrix.Event.Base {
|
|||||||
|
|
||||||
if ((node = root.get_member("room_id")) != null) {
|
if ((node = root.get_member("room_id")) != null) {
|
||||||
_room_id = node.get_string();
|
_room_id = node.get_string();
|
||||||
} else {
|
} else if (Config.DEBUG) {
|
||||||
warning("room_id is missing from a m.presence event");
|
warning("room_id is missing from a m.receipt event");
|
||||||
}
|
}
|
||||||
|
|
||||||
content_root.foreach_member((obj, event_id, event_content) => {
|
content_root.foreach_member((obj, event_id, event_content) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user