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

Set silent flag for Sent carbons #14

Open
rufferson opened this issue Nov 30, 2020 · 0 comments
Open

Set silent flag for Sent carbons #14

rufferson opened this issue Nov 30, 2020 · 0 comments

Comments

@rufferson
Copy link
Collaborator

Silent flag (hint) in headers part of the message suppresses incoming message notifications hence needs to be set for any non-incoming message (such us outgoing carbon and mam).
https://telepathy.freedesktop.org/spec/Channel_Interface_Messages.html#Simple-Type:Message_Header_Key

silent (b)
    If present and true, the incoming message should not trigger a user notification.

https://telepathy.freedesktop.org/doc/telepathy-glib-0.24.x/TpMessage.html#tp-message-set-boolean

void                tp_message_set_boolean              (TpMessage *self,
                                                         guint part,
                                                         const gchar *key,
                                                         gboolean b);

Headers are in part 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant