Skip to content

Commit 72771a4

Browse files
committed
Fix consecutive custom emojis
1 parent c1004aa commit 72771a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Telegram/Common/TextStyleRun.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,10 @@ private static bool AreTheSame(TextEntityType x, TextEntityType y)
305305
{
306306
return true;
307307
}
308+
else if (x is TextEntityTypeCustomEmoji && y is TextEntityTypeCustomEmoji)
309+
{
310+
return false;
311+
}
308312

309313
return x.GetType() == y.GetType();
310314
}

0 commit comments

Comments
 (0)