We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 687621f commit fd80feaCopy full SHA for fd80fea
Signal-Windows/Controls/Message.xaml.cs
@@ -167,13 +167,20 @@ private void UpdateMessageTextBlock()
167
}
168
catch (Exception)
169
{
170
+ MessageContentTextBlock.Inlines.Add(new Run()
171
+ {
172
+ Text = link
173
+ });
174
continue;
175
176
+ finally
177
178
+ previousIndex = currentIndex + match.Length;
179
+ currentIndex = previousIndex;
180
+ }
181
hyperlink.UnderlineStyle = UnderlineStyle.Single;
182
hyperlink.Inlines.Add(hyperlinkRun);
183
MessageContentTextBlock.Inlines.Add(hyperlink);
- previousIndex = currentIndex + match.Length;
- currentIndex = previousIndex;
184
185
186
// Then finish up by adding the rest of the message text to the TextBox
0 commit comments