Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archived chats support #100

Closed
4DA opened this issue Nov 18, 2019 · 2 comments
Closed

Archived chats support #100

4DA opened this issue Nov 18, 2019 · 2 comments
Labels

Comments

@4DA
Copy link
Contributor

4DA commented Nov 18, 2019

Very cool feature that I miss in telega

@4DA
Copy link
Contributor Author

4DA commented Nov 18, 2019

Should be possible to implement after 1.6 of tdlib:
tdlib/td#554

@zevlg
Copy link
Owner

zevlg commented Nov 18, 2019

Archived chats are not yet supported by TDLib 1.5.0 (see tdlib/td#554)

As a workaround, you can use custom chat label in conjunction with custom chat order. So all your "archived" chats are listed at the bottom of chat list and has custom label "Archived", so you can filter them with / l Archived RET in root buffer.

Here is the command to put chat to archive:

(defun my-telega-chat-archive (chat)
  (interactive (list (or telega-chatbuf--chat
                         (telega-chat-at-point))))
  (telega-chat-custom-order chat "1")
  (telega-chat-custom-label chat "Archived"))

@zevlg zevlg added the feature label Nov 19, 2019
@zevlg zevlg closed this as completed in 813ce3f Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants