diff options
Diffstat (limited to 'main/src/ui/contact_details')
-rw-r--r-- | main/src/ui/contact_details/permissions_provider.vala | 5 | ||||
-rw-r--r-- | main/src/ui/contact_details/settings_provider.vala | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/main/src/ui/contact_details/permissions_provider.vala b/main/src/ui/contact_details/permissions_provider.vala index c7ea4a1c..a0ca4d13 100644 --- a/main/src/ui/contact_details/permissions_provider.vala +++ b/main/src/ui/contact_details/permissions_provider.vala @@ -6,6 +6,7 @@ namespace Dino.Ui.ContactDetails { public class PermissionsProvider : Plugins.ContactDetailsProvider, Object { public string id { get { return "permissions"; } } + public string tab { get { return "about"; } } private StreamInteractor stream_interactor; @@ -25,6 +26,10 @@ public class PermissionsProvider : Plugins.ContactDetailsProvider, Object { contact_details.add("Permissions", _("Request permission to send messages"), "", voice_request); } } + + public Object? get_widget(Conversation conversation) { + return null; + } } } diff --git a/main/src/ui/contact_details/settings_provider.vala b/main/src/ui/contact_details/settings_provider.vala index 6a680f64..c6b87652 100644 --- a/main/src/ui/contact_details/settings_provider.vala +++ b/main/src/ui/contact_details/settings_provider.vala @@ -6,6 +6,7 @@ namespace Dino.Ui.ContactDetails { public class SettingsProvider : Plugins.ContactDetailsProvider, Object { public string id { get { return "chat_settings"; } } + public string tab { get { return "about"; } } private StreamInteractor stream_interactor; @@ -69,6 +70,10 @@ public class SettingsProvider : Plugins.ContactDetailsProvider, Object { combobox.append("off", _("Off")); return combobox; } + + public Object? get_widget(Conversation conversation) { + return null; + } } } |