diff options
author | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2023-02-13 23:40:58 +0200 |
---|---|---|
committer | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2023-02-13 23:40:58 +0200 |
commit | 6d266984a4729f09eda42027d6781d26eb198d25 (patch) | |
tree | 45b06a90450a21c31d0d28856b44ee3409070fd8 /src/ui/mucwin.c | |
parent | 11055715845d7d7e5d3ef42982d04d1b65d57ac2 (diff) | |
download | profani-tty-6d266984a4729f09eda42027d6781d26eb198d25.tar.gz |
Fix quote and url autocompletion for MAM and history
After adding MAM quote and url autocompletion wouldn't pick up messages from MAM or history(from DB) or would have them in the wrong order. This commit fixes that. Fixes https://github.com/profanity-im/profanity/issues/1770
Diffstat (limited to 'src/ui/mucwin.c')
-rw-r--r-- | src/ui/mucwin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index ff32981f..a3d154e0 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -542,7 +542,7 @@ mucwin_outgoing_msg(ProfMucWin* mucwin, const char* const message, const char* c _mucwin_set_last_message(mucwin, id, message); } - wins_add_quotes_ac(window, message); + wins_add_quotes_ac(window, message, FALSE); } void @@ -582,8 +582,8 @@ mucwin_incoming_msg(ProfMucWin* mucwin, const ProfMessage* const message, GSList } win_insert_last_read_position_marker((ProfWin*)mucwin, mucwin->roomjid); - wins_add_urls_ac(window, message); - wins_add_quotes_ac(window, message->plain); + wins_add_urls_ac(window, message, FALSE); + wins_add_quotes_ac(window, message->plain, FALSE); if (g_slist_length(mentions) > 0) { _mucwin_print_mention(window, message->plain, message->from_jid->resourcepart, mynick, mentions, ch, flags); |