GNU bug report logs -
#65384
29.1; ERC 5.5.0.29.1: twitch integration broken
Previous Next
Reported by: Aleksas Tunikas <mail <at> aleksas.ru>
Date: Sat, 19 Aug 2023 16:00:03 UTC
Severity: normal
Found in version 29.1
Done: Corwin Brust <corwin <at> bru.st>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 65384-done <at> debbugs.gnu.org (full text, mbox):
tags 65384 notabug
thanks
TL;DR: my fault for suggesting a bug report here, I think; and I've
therefore closed.
On Sat, Aug 19, 2023 at 12:57=E2=80=AFPM J.P. <jp <at> neverwas.me> wrote:
>
> Hi Aleksas,
>
> Aleksas Tunikas <mail <at> aleksas.ru> writes:
>
> > it used to work now it doesnt it gives this error, asked on an irc emac=
s
> > group on libre there was another person experiencing this, tried irssi
> > and it works fine! thank you for all your work! http://ix.io/4DYd
>
> On the surface, the problem appears to be that Twitch doesn't send vital
> identifying information needed by ERC. Have you tried either workaround
> In case it's not clear, that's asking you to try something like
>
> (push '(twitch "-") erc-networks-alist)
>
> before connecting, or, alternatively, connecting with something like
>
> (erc-tls :server "irc.chat.twitch.tv"
> :port 6697
> :nick "me"
> :password "..."
> :id 'twitch)
>
> Unfortunately, I don't have access to Twitch credentials, so I can't try
I was able to test this approach by adding :id 'twich; shown off below.
Although I'm curious how this worked before, I've closed despite the
"regression"; if that wasn't TRT I believe replying to the original
bug address (not the -done <at> debbugs... variant), will reopen it.
My test:
(defun auth-for (host)
"Get the password for HOST."
(let ((found (nth 0 (auth-source-search :host host))))
(let ((secret (plist-get found :secret)))
(if (functionp secret)
(funcall secret)
secret))))
(defun twitch-irc ()
"Connect to twitch IRC via twitch."
(interactive)
(erc-tls :server "irc.chat.twitch.tv"
:port 6697
:nick "me"
:id 'twitch
:password (auth-for "twitch")))
M-x twich-ircRET
FTR, I didn't try adjusting `erc-network-alist'
>
> Thanks,
> J.P.
>
This bug report was last modified 2 years and 3 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.