Cannot access any chats in purple-matrix #421
Replies: 6 comments
-
Chats should be sent using roomlist api, you can check other prpls like purple-skypeweb for example |
Beta Was this translation helpful? Give feedback.
-
Thanks, I'll look into it, seems like there's not much code to add. And also, is it possible to adjust the loglevel? This prpl is extremely noisy and has spawned 2GB of INFO messages in syslog (status changes and so) just during one night. |
Beta Was this translation helpful? Give feedback.
-
I implemented populating the room list from open conversations. It works in Pidgin: Any other suggestions please? Actually, this prpl is already pretty annoying due to the fact it opens a conversation for every existing room on every connection, and relies on it, unlike other prpls do: this is why I avoid using it in Pidgin. And it doesn't even seem to cache the rooms anywhere out of structures it provides for libpurple. If Spectrum2 doesn't actually emulate conversations spawning, there still should be just an empty list. Should I maybe explicitly trigger a sync and retrieve the rooms from its results, like it's done for XMPP and Skype? About the logging: I tried to circumvent it by replacing |
Beta Was this translation helpful? Give feedback.
-
You are seeing output from libpurple, you should configure libpurple logging, not spectrum. Spectrum just starts libpurple at debug level https://github.com/SpectrumIM/spectrum2/blob/master/backends/libpurple/main.cpp#L2410 |
Beta Was this translation helpful? Give feedback.
-
The general issue with Matrix is: matrix IDs are case-sensitive while email/jid are not. So it is not possible to map matrix id to jid directly. Maybe need to use case_insensitive_hash(matrix_username)@matrix.server to prevent case issues and automatically convert everything, but this will create problems to users who wants to write to matrix ID directly |
Beta Was this translation helpful? Give feedback.
-
Yeah, and ignores the Anyway, this is weird itself, as with the WARN level in the config all of that had to be ignored completely, which is not the case. And according to these I thought of resorting to just patching out all of debug output off the prpl, but it's not really a solution.
AFAIR, Hangouts has the same issue, and still it works somehow, but only via the Service Discovery, not by directly contacting any JIDs. Anyway, if this has to be addressed specifically, uppercase characters may just be escaped, like |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The registration and login seem to work successfully, according to warnings about certain chats appearing in Spectrum2 log, but no any buddies or rooms appear in the roster, and I don't see them in Service Discovery as well.
I would fix it maybe, but I have no idea what is wrong exactly and what should prpls implement correctly so Spectrum2 can obtain the chats list. Does maybe purple-matrix rely on an ability to spawn a chat tab before populating the buddy list, which works well in Pidgin/Finch, but not in Spectrum2?
Beta Was this translation helpful? Give feedback.
All reactions