diff --git a/matrix/_weechat.py b/matrix/_weechat.py index 3dd422e..bc40812 100644 --- a/matrix/_weechat.py +++ b/matrix/_weechat.py @@ -61,6 +61,7 @@ class MockConfig(object): 'pygments_style': None, 'redactions': None, 'server_buffer': None, + 'new_channel_position': None, }, 'network': { 'debug_buffer': None, @@ -230,6 +231,14 @@ def buffer_get_string(_ptr, property): return "" +def buffer_get_integer(_ptr, property): + return 0 + + +def current_buffer(): + return 1 + + def nicklist_add_group(*_, **__): return