target comments of @flub

This commit is contained in:
B. Petersen
2019-11-04 23:04:12 +01:00
committed by holger krekel
parent f8afefa2c1
commit 4c30bf80ce
3 changed files with 5 additions and 5 deletions

View File

@@ -115,7 +115,7 @@ impl Chat {
self.param.exists(Param::Devicetalk)
}
pub fn is_writable(&self) -> bool {
pub fn can_send(&self) -> bool {
self.id > DC_CHAT_ID_LAST_SPECIAL && !self.is_device_talk()
}