[MOD] Check presence of MUC room in priority

I _hate_ you.
This commit is contained in:
LDA 2024-07-20 14:39:17 +02:00
commit 729d107400
2 changed files with 5 additions and 10 deletions

View file

@ -42,8 +42,8 @@ TODO
we _might_ just manage to get some system that can at least emulate that,
and hopefully be reasonably faster than the filesystem, with some added
reliability.
- Starting a DM from XMPP to a Matrix user(and also get rid of the '?'-syntax and
use another invalid Matrix char/valid XMPP char ('$'?) for escaped)
- Get rid of the '?'-syntax and use another invalid Matrix char/valid XMPP char
('$'?) for escaped
- PROPER FUCKING AVATARS
XEP-0084 IS THE WORST PIECE OF SHIT KNOWN TO MAN. If any Jabberbros want to
@ -55,13 +55,8 @@ restricted to Parsee admins, with permission from MUC owners, too
only if Parsee admins are good-willed, which we must assume such statment to
be false by default.
- Look at XEPS-TBD.TXT for XEPs to be done
- Achievements
### Why?
> "[...] and it [BoVeX] has an achievement system, because another thing I don't like is
> when software will not acknowledge that you've reached an obscure error state, essentially
> outsmarting it."
- [Tom Murphy VII](http://tom7.org)
- Manage MUC DMs in a reasonable manner. Thanks `@freeoffers4u:matrix.org` for being
a fucking annoyance and DMing an old Parsee semi-anon user for no clear reason.
## DONATING/CONTRIBUTING
If you know things about XMPP or Matrix, yet aren't familiar with C99, or just

View file

@ -182,7 +182,7 @@ MessageStanza(ParseeData *args, XMLElement *stanza, XMPPThread *thr)
* ISSUE.
*
* I HATE THIS. I NEED TO FIND A BETTER WAY. */
if (!room)
if (mroom_id)
{
if (strncmp(HashMapGet(stanza->attrs, "to"), "parsee@", 7))
{