Skip to content

Commit 83a643b

Browse files
committed
feat: add full socket RPC support for all CLI commands
1 parent 960d657 commit 83a643b

5 files changed

Lines changed: 592 additions & 9 deletions

File tree

src/app/send.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ impl App {
436436
}
437437

438438
/// Mark a chat (or topic in a forum) as read.
439-
pub async fn mark_read(&mut self, chat_id: i64, topic_id: Option<i32>) -> Result<()> {
439+
pub async fn mark_read(&self, chat_id: i64, topic_id: Option<i32>) -> Result<()> {
440440
let peer_ref = self.resolve_peer_ref(chat_id).await?;
441441

442442
if let Some(tid) = topic_id {

0 commit comments

Comments
 (0)