You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 18, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: src/main/scala/org/codeoverflow/chatoverflow/requirement/service/twitch/chat/TwitchChatConnectListener.scala
Copy file name to clipboardExpand all lines: src/main/scala/org/codeoverflow/chatoverflow/requirement/service/twitch/chat/impl/TwitchChatInputImpl.scala
+8-1
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,7 @@ class TwitchChatInputImpl extends EventInputImpl[TwitchEvent, chat.TwitchChatCon
30
30
privatevalemoticonRegex="""(\d+)-(\d+)""".r
31
31
32
32
privatevarcurrentChannel:Option[String] =None
33
+
privatevarignoreOwnMessages=false
33
34
34
35
privatevalonMessageFn= onMessage _
35
36
privatevalonUnknownFn= onUnknown _
@@ -41,7 +42,9 @@ class TwitchChatInputImpl extends EventInputImpl[TwitchEvent, chat.TwitchChatCon
41
42
}
42
43
43
44
privatedefonMessage(event: MessageEvent):Unit= {
44
-
if (currentChannel.isDefined && event.getChannelSource == currentChannel.get) {
45
+
if (currentChannel.isDefined && event.getChannelSource == currentChannel.get
Copy file name to clipboardExpand all lines: src/main/scala/org/codeoverflow/chatoverflow/requirement/service/twitch/chat/impl/TwitchChatOutputImpl.scala
+2
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ class TwitchChatOutputImpl extends OutputImpl[chat.TwitchChatConnector] with Twi
29
29
if (!sourceConnector.get.isJoined(currentChannel.get)) sourceConnector.get.joinChannel(currentChannel.get)
0 commit comments