Compare commits
1 Commits
786f199a8d
...
8150d341f2
Author | SHA1 | Date | |
---|---|---|---|
8150d341f2 |
11
src/lib.rs
11
src/lib.rs
@@ -126,12 +126,12 @@ impl purple::PrplPlugin for PurpleDelta {
|
||||
homepage: "https://code.ur.gs/lupine/purple-plugin-delta".into(),
|
||||
};
|
||||
|
||||
// FIXME: we can't disable any of these without purple::impl_extra_handler_builder! getting upset
|
||||
context
|
||||
.with_info(info)
|
||||
.enable_login()
|
||||
.enable_load()
|
||||
.enable_close()
|
||||
/*
|
||||
.enable_chat_info()
|
||||
.enable_chat_info_defaults()
|
||||
.enable_join_chat()
|
||||
@@ -140,6 +140,7 @@ impl purple::PrplPlugin for PurpleDelta {
|
||||
.enable_chat_send()
|
||||
.enable_convo_closed()
|
||||
.enable_get_chat_name()
|
||||
*/
|
||||
.enable_list_icon()
|
||||
.enable_status_types()
|
||||
}
|
||||
@@ -226,7 +227,7 @@ impl purple::ListIconHandler for PurpleDelta {
|
||||
&ICON_FILE
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
impl purple::ChatInfoHandler for PurpleDelta {
|
||||
fn chat_info(&mut self, _connection: &mut Connection) -> Vec<purple::prpl::ChatEntry> {
|
||||
vec![purple::prpl::ChatEntry {
|
||||
@@ -416,7 +417,7 @@ impl purple::InputHandler for PurpleDelta {
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
*/
|
||||
impl purple::CommandHandler for PurpleDelta {
|
||||
fn command(
|
||||
&mut self,
|
||||
@@ -685,7 +686,7 @@ impl PurpleDelta {
|
||||
group
|
||||
})
|
||||
}
|
||||
*/
|
||||
|
||||
pub fn conversation_joined(
|
||||
&mut self,
|
||||
connection: &mut Connection,
|
||||
@@ -707,7 +708,7 @@ impl PurpleDelta {
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
|
||||
pub fn check_chat_info(
|
||||
&mut self,
|
||||
connection: &mut Connection,
|
||||
|
Reference in New Issue
Block a user