Parse mentions and triggers in muc history if display is 'regular'
Fix https://github.com/profanity-im/profanity/issues/1261
This commit is contained in:
@@ -1256,7 +1256,7 @@ _send_message_stanza(xmpp_stanza_t *const stanza)
|
||||
* checkOID = false: check regular id
|
||||
*/
|
||||
bool
|
||||
message_is_sent_by_us(ProfMessage *message, bool checkOID) {
|
||||
message_is_sent_by_us(const ProfMessage *const message, bool checkOID) {
|
||||
bool ret = FALSE;
|
||||
|
||||
// we check the </origin-id> for this we calculate a hash into it so we can detect
|
||||
|
||||
@@ -184,7 +184,7 @@ void message_send_paused(const char *const jid);
|
||||
void message_send_gone(const char *const jid);
|
||||
void message_send_invite(const char *const room, const char *const contact, const char *const reason);
|
||||
|
||||
bool message_is_sent_by_us(ProfMessage *message, bool checkOID);
|
||||
bool message_is_sent_by_us(const ProfMessage *const message, bool checkOID);
|
||||
|
||||
void presence_subscription(const char *const jid, const jabber_subscr_t action);
|
||||
GList* presence_get_subscription_requests(void);
|
||||
|
||||
Reference in New Issue
Block a user