aboutsummaryrefslogtreecommitdiff
path: root/main/src/ui/conversation_summary/message_textview.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-01-30 17:29:54 +0100
committerfiaxh <git@mx.ax.lt>2018-01-30 17:29:54 +0100
commitef40b617349f49f3f7543b4647bb142590773bc5 (patch)
treeb3d608d9179787deb0424d530309788b74c41f20 /main/src/ui/conversation_summary/message_textview.vala
parent8c46c423c09d2a2bb50f086414d2fb373b3a64c9 (diff)
downloaddino-ef40b617349f49f3f7543b4647bb142590773bc5.tar.gz
dino-ef40b617349f49f3f7543b4647bb142590773bc5.zip
Small fixes
Diffstat (limited to 'main/src/ui/conversation_summary/message_textview.vala')
-rw-r--r--main/src/ui/conversation_summary/message_textview.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/ui/conversation_summary/message_textview.vala b/main/src/ui/conversation_summary/message_textview.vala
index d11fd9e1..0b5ed6e4 100644
--- a/main/src/ui/conversation_summary/message_textview.vala
+++ b/main/src/ui/conversation_summary/message_textview.vala
@@ -74,7 +74,7 @@ public class MessageTextView : TextView {
TextIter iter;
get_iter_at_location(out iter, x, y);
TextIter start_iter = iter, end_iter = iter;
- if (start_iter.backward_to_tag_toggle(null) && end_iter.forward_to_tag_toggle(null)) {
+ if (start_iter.backward_to_tag_toggle(link_tag) && end_iter.forward_to_tag_toggle(link_tag)) {
return start_iter.get_text(end_iter);
}