Commit Graph

7 Commits

Author SHA1 Message Date
Badlop a95e657a21 Add simple mod_doc/0 to prevent warnings; they won't be used anyway 2021-07-06 21:02:29 +02:00
Badlop 4cde5d84f2 Update xmpp.hrl path to support compilation when copied to ejabberd/src/ 2021-02-08 00:15:27 +01:00
Badlop f32bb792bc Update copyright to 2020 (processone/ejabberd#3149) 2020-01-29 11:38:28 +01:00
Badlop 5c94639bf2 mod_irc: Disable spurious vCard->WHOIS requests (thanks to Kousu)(#874)
It makes sense that vCard in XMPP roughly maps to WHOIS in IRC,
but there is no code that actually handles receiving WHOISes properly:
they just get passed through as plain messages coming from user!ircserver@irc.xmppserver.tld.
I suppose sometimes you want to manually be able to run a WHOIS and see the results,
so I don't want them banned entirely, but I don't want them on each run.

Sending spurious WHOISes pisses off Xabber, which overenthusiastically sends "get vCard"
IQ stanzas on every single presence change (even "unavailable"); this has the horrible
side effect of spawning a huge number of private chats with users I have never talked to,
and buzzing my phone uncontrollably for a good minute, whenever I join a channel with more
than 50 people in it, and the same every time someone's connection drops.

Disabling this scratches an itch for me and patches over what is arguably Xabber's problem,
but in fact, this code was already half-disabled: *even though it sends IRC commands* it
returns ?ERR_FEATURE_NOT_IMPLEMENTED.  Was this an oversight?
2019-01-21 14:55:31 +01:00
Evgeniy Khramtsov 65575478a3 Move here mod_irc module from the main ejabberd repo 2018-06-20 11:38:22 +03:00
Holger Weiss ddae2cd8dd Remove mod_irc, it's included with ejabberd now 2014-10-07 13:04:48 +02:00
Badlop ee7d3c7030 Initial import from ejabberd-modules SVN 2013-04-15 12:03:14 +02:00