By hook or by crook, amke empathy open a window
This commit is contained in:
@@ -49,9 +49,20 @@ impl telepathy::ChannelInterfaceMessages for Channel {
|
||||
}
|
||||
|
||||
fn pending_messages(&self) -> Result<Vec<Vec<HashMap<String, VarArg>>>> {
|
||||
println!("Channel::pending_messages()");
|
||||
let out = Vec::new();
|
||||
/*
|
||||
let ctx = self.ctx.read().unwrap();
|
||||
for msg_id in dc::chat::get_chat_msgs(&ctx, self.chat_id, 0, None) {
|
||||
if let Ok(msg) = dc::msg::Message::load_from_db(&ctx, msg_id) {
|
||||
let lot = msg.get_summary(&ctx, None);
|
||||
|
||||
Ok(vec![]) // FIXME: check for pending messages
|
||||
if lot
|
||||
}
|
||||
}
|
||||
|
||||
println!("Channel::pending_messages()");
|
||||
*/
|
||||
Ok(out) // FIXME: check for pending messages
|
||||
}
|
||||
|
||||
fn delivery_reporting_support(&self) -> Result<u32> {
|
||||
|
Reference in New Issue
Block a user