Set localvar type to private for mpdms
Mpdms should behave the same way as dms when it comes to notifications
etc., so I think it makes more sense to set type to private than to
channel.
@@ -1957,7 +1957,7 @@ class SlackChannel(SlackChannelCommon):
self.active = True
self.channel_buffer = w.buffer_new(self.formatted_name(style="long_default"), "buffer_input_callback", "EVENTROUTER", "", "")
self.eventrouter.weechat_controller.register_buffer(self.channel_buffer, self)
- if self.type == "im":
+ if self.type in ("im", "mpim"):
w.buffer_set(self.channel_buffer, "localvar_set_type", 'private')
else:
w.buffer_set(self.channel_buffer, "localvar_set_type", 'channel')
