Patch up Matrix.Event.Typing
* Print debug messages when debug is enabled
This commit is contained in:
parent
4a5aef0a10
commit
a33e3cf6b2
@ -64,7 +64,7 @@ public class Matrix.Event.Typing : Matrix.Event.Base {
|
|||||||
node.get_array().foreach_element((ary, idx, user_node) => {
|
node.get_array().foreach_element((ary, idx, user_node) => {
|
||||||
_user_ids.prepend(user_node.get_string());
|
_user_ids.prepend(user_node.get_string());
|
||||||
});
|
});
|
||||||
} else {
|
} else if (Config.DEBUG) {
|
||||||
warning("content.user_ids is missing from a m.typing event");
|
warning("content.user_ids is missing from a m.typing event");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user