aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/contact_details/settings_provider.vala
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/ui/contact_details/settings_provider.vala')
-rw-r--r--main/src/ui/contact_details/settings_provider.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/contact_details/settings_provider.vala b/main/src/ui/contact_details/settings_provider.vala
index aa397814..adc2e371 100644
--- a/main/src/ui/contact_details/settings_provider.vala
+++ b/main/src/ui/contact_details/settings_provider.vala
@@ -19,7 +19,7 @@ public class SettingsProvider : Plugins.ContactDetailsProvider, Object {
public void populate(Conversation conversation, Plugins.ContactDetails contact_details, Plugins.WidgetType type) {
if (type != Plugins.WidgetType.GTK) return;
- if (!stream_interactor.get_module(MucManager.IDENTITY).is_public_room(conversation.account, conversation.counterpart)) {
+ if (!stream_interactor.get<MucManager>().is_public_room(conversation.account, conversation.counterpart)) {
string details_headline = conversation.type_ == Conversation.Type.GROUPCHAT ? DETAILS_HEADLINE_ROOM : DETAILS_HEADLINE_CHAT;
ComboBoxText combobox_typing = get_combobox(Dino.Application.get_default().settings.send_typing);