# Rooms IRC echo-message

**URL:** <https://staging-discuss.dev.twitch.com/t/rooms-irc-echo-message/14563>\
**Category:** Chat and IRC\
**Created:** [March 2, 2018, 12:20pm UTC](https://staging-discuss.dev.twitch.com/t/rooms-irc-echo-message/14563 "2018-03-02T12:20:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwheare](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/jwheare/32/2221_2.png) [@jwheare](https://staging-discuss.dev.twitch.com/u/jwheare)\
**Post date:** [March 2, 2018, 12:20pm UTC](https://staging-discuss.dev.twitch.com/t/rooms-irc-echo-message/14563/1 "2018-03-02T12:20:10Z")

</div>

As mentioned in this thread:

> [@Do New Chat Rooms change anything about IRC?](https://staging-discuss.dev.twitch.com/t/do-new-chat-rooms-change-anything-about-irc/14310/6):
>
> There seem to be some minor differences. When I send a message to a room the server returns my own messages as PRIVMSGs as well on the same connection unlike normal chats where it doesn’t. And justinfan doesn’t work for rooms apparently? FeelsBadMan Anyone know if that’s intentionally different with rooms or maybe just bugs? I’m assuming intentional but thought I’d ask.

Messages sent to chat rooms are being repeated back to IRC clients. As a default, this breaks basic IRC protocol expectations.

This behaviour should only be enabled when the echo-message capability is requested by clients, described here:

> **[\`echo-message\` Extension - IRCv3](https://ircv3.net/specs/extensions/echo-message-3.2.html)**
>
> IRCv3 Development Community

Any chance this can be changed so IRC clients can better support twitch chat rooms?

---

<div class="post-metadata">

**Author:** ![psilocide](https://avatars.discourse-cdn.com/v4/letter/p/ecccb3/32.png) [@psilocide](https://staging-discuss.dev.twitch.com/u/psilocide)\
**Post date:** [March 21, 2018, 6:50pm UTC](https://staging-discuss.dev.twitch.com/t/rooms-irc-echo-message/14563/2 "2018-03-21T18:50:12Z")

</div>

Your link makes it seem simple to handle. Ignore whatever PRIVMSG or NOTICE you send and then handle the reply from the Twitch IRC server as if it was your original IRC message.

> Clients that receive self-sent PRIVMSG and NOTICE messages, MUST treat them the same way as if the client itself would have sent the message to the target. Clients may choose to disable local echoing of sent PRIVMSG and NOTICE messages altogether, or present them in pending state.

I however understand your point that is not standard regarding the IRC v3 specs.

---

<div class="post-metadata">

**Author:** ![jwheare](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/jwheare/32/2221_2.png) [@jwheare](https://staging-discuss.dev.twitch.com/u/jwheare)\
**Post date:** [March 21, 2018, 7:43pm UTC](https://staging-discuss.dev.twitch.com/t/rooms-irc-echo-message/14563/3 "2018-03-21T19:43:16Z")

</div>

Yes, suppressing the PRIVMSG/NOTICE on the client side is simple to do, but knowing _when_ to do that is the trick. That’s what the echo-message cap is for.

---

<div class="post-metadata">

**Author:** ![psilocide](https://avatars.discourse-cdn.com/v4/letter/p/ecccb3/32.png) [@psilocide](https://staging-discuss.dev.twitch.com/u/psilocide)\
**Post date:** [March 21, 2018, 7:59pm UTC](https://staging-discuss.dev.twitch.com/t/rooms-irc-echo-message/14563/4 "2018-03-21T19:59:55Z")

</div>

What you say makes sense. Have you an idea for a work around currently?

---

<div class="post-metadata">

**Author:** ![jwheare](https://d1d6mrmdu7ztse.cloudfront.net/user_avatar/staging-discuss.dev.twitch.com/jwheare/32/2221_2.png) [@jwheare](https://staging-discuss.dev.twitch.com/u/jwheare)\
**Post date:** [March 21, 2018, 8:18pm UTC](https://staging-discuss.dev.twitch.com/t/rooms-irc-echo-message/14563/5 "2018-03-21T20:18:07Z")

</div>

For a standard IRC client, not really, this needs a behaviour change in the Twitch IRC messaging interface.

If you’re building a client _only_ for Twitch, then you can probably justify adding a brittle hack to special case this based on detecting whether a channel name looks like a room.

---

<div class="post-metadata">

**Author:** ![system](https://d2spem0quai2ol.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://staging-discuss.dev.twitch.com/u/system)\
**Post date:** [April 20, 2018, 8:18pm UTC](https://staging-discuss.dev.twitch.com/t/rooms-irc-echo-message/14563/6 "2018-04-20T20:18:13Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
