diff options
author | Paul Fariello <paul@fariello.eu> | 2019-04-01 20:39:39 +0320 |
---|---|---|
committer | Paul Fariello <paul@fariello.eu> | 2019-04-10 17:23:46 +0200 |
commit | e69f947547160ea2c965a3d4f5966c5f4a289340 (patch) | |
tree | ebb71704f3ce98fdb9494dfcfb1b555dc2d212ce /src/xmpp/xmpp.h | |
parent | e7be3a605bbb47e462265a379d48aad9cc565fc2 (diff) | |
download | profani-tty-e69f947547160ea2c965a3d4f5966c5f4a289340.tar.gz |
Rework MUC reflected message filtering
Reflected messages can't be filtered by nick only otherwise you might ignore messages comming from you on another devices. Consequently we maintain a list of sent messages id in mucwin. To be sure the id will be correctly reflected we use the origin-id stanza.
Diffstat (limited to 'src/xmpp/xmpp.h')
-rw-r--r-- | src/xmpp/xmpp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/xmpp.h b/src/xmpp/xmpp.h index 39877bc2..54a56f02 100644 --- a/src/xmpp/xmpp.h +++ b/src/xmpp/xmpp.h @@ -144,7 +144,7 @@ char* message_send_chat_otr(const char *const barejid, const char *const msg, gb char* message_send_chat_pgp(const char *const barejid, const char *const msg, gboolean request_receipt); char* message_send_chat_omemo(const char *const jid, uint32_t sid, GList *keys, const unsigned char *const iv, size_t iv_len, const unsigned char *const ciphertext, size_t ciphertext_len, gboolean request_receipt, gboolean muc); void message_send_private(const char *const fulljid, const char *const msg, const char *const oob_url); -void message_send_groupchat(const char *const roomjid, const char *const msg, const char *const oob_url); +char* message_send_groupchat(const char *const roomjid, const char *const msg, const char *const oob_url); void message_send_groupchat_subject(const char *const roomjid, const char *const subject); void message_send_inactive(const char *const jid); void message_send_composing(const char *const jid); |