From 2d0c78d4fae6e7a2e596fe9db24a78a0f878bd48 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Fri, 30 Oct 2020 15:54:28 -0400 Subject: fix link/mention/emote parsing cuz dealing with utf8 sucks --- components/chatmessage.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/chatmessage.hpp') diff --git a/components/chatmessage.hpp b/components/chatmessage.hpp index cd07fce..70eeb3d 100644 --- a/components/chatmessage.hpp +++ b/components/chatmessage.hpp @@ -26,7 +26,7 @@ protected: Gtk::Box *CreateAttachmentComponent(const AttachmentData &data); // non-image attachments void HandleImage(const AttachmentData &data, Gtk::Image *img, std::string url); - static Glib::ustring GetTextFiltered(const Glib::RefPtr &buf); + static Glib::ustring GetText(const Glib::RefPtr &buf); void HandleUserMentions(Gtk::TextView *tv); void HandleStockEmojis(Gtk::TextView *tv); -- cgit v1.2.3