2017-03-12 01:28:23 +00:00
|
|
|
namespace Dino.Plugins.Omemo {
|
|
|
|
|
|
|
|
public class AccountSettingsEntry : Plugins.AccountSettingsEntry {
|
|
|
|
private Plugin plugin;
|
|
|
|
|
|
|
|
public AccountSettingsEntry(Plugin plugin) {
|
|
|
|
this.plugin = plugin;
|
|
|
|
}
|
|
|
|
|
|
|
|
public override string id { get {
|
|
|
|
return "omemo_identity_key";
|
|
|
|
}}
|
|
|
|
|
|
|
|
public override string name { get {
|
|
|
|
return "OMEMO";
|
|
|
|
}}
|
|
|
|
|
2017-05-04 20:05:48 +00:00
|
|
|
public override Plugins.AccountSettingsWidget? get_widget(WidgetType type) {
|
|
|
|
if (type == WidgetType.GTK) {
|
|
|
|
return new AccountSettingWidget(plugin);
|
|
|
|
}
|
|
|
|
return null;
|
2017-03-12 01:28:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|