Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FoseFx committed Aug 25, 2024
1 parent e6f2b79 commit 39e4e53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ diff --git a/smali_classes6/tv/twitch/android/shared/chat/ChatMessageDelegate.sm
move-result-object v0

+ # BTTV
+ iget-object v1, p0, Ltv/twitch/android/shared/chat/ChatMessageDelegate;->mChatMessage:Ltv/twitch/chat/ChatMessageInfo;
+ invoke-static {v1, v0}, Lbttv/api/Badges;->appendToBadges(Ltv/twitch/chat/ChatMessageInfo;Ljava/util/List;)V
+ iget-object v1, p0, Ltv/twitch/android/shared/chat/ChatMessageDelegate;->chatMessage:Ltv/twitch/chat/library/model/ChatMessageInfo;
+ invoke-static {v1, v0}, Lbttv/api/Badges;->appendToBadges(Ltv/twitch/chat/library/model/ChatMessageInfo;Ljava/util/List;)V
+ # /BTTV
+
return-object v0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
diff --git a/smali_classes6/tv/twitch/android/shared/chat/messagefactory/ChatMessageFactory.smali b/smali_classes6/tv/twitch/android/shared/chat/messagefactory/ChatMessageFactory.smali
--- a/smali_classes6/tv/twitch/android/shared/chat/messagefactory/ChatMessageFactory.smali
+++ b/smali_classes6/tv/twitch/android/shared/chat/messagefactory/ChatMessageFactory.smali
@@ -1338,6 +1338,21 @@
@@ -1338,6 +1338,19 @@

invoke-static {v14, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V

+ # BTTV
+ # Add bttv emotes
+ # expects:
+ # v14: tv.twitch.android.shared.chat.pub.ChatMessageInterface;
+ invoke-static {v14}, Lbttv/Tokenizer;->retokenizeLiveChatMessage(Ltv/twitch/android/shared/chat/pub/messages/ui/ChatMessageInterface;)V
+
+ # dont add if contians word on blocklist
Expand Down

0 comments on commit 39e4e53

Please sign in to comment.