Patch up Matrix.Event.Typing

* Print debug messages when debug is enabled
This commit is contained in:
Gergely Polonkai 2016-03-09 16:27:37 +01:00 committed by Gergely Polonkai
parent 4a5aef0a10
commit a33e3cf6b2

View File

@ -64,7 +64,7 @@ public class Matrix.Event.Typing : Matrix.Event.Base {
node.get_array().foreach_element((ary, idx, user_node) => {
_user_ids.prepend(user_node.get_string());
});
} else {
} else if (Config.DEBUG) {
warning("content.user_ids is missing from a m.typing event");
}