mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:35:10 +00:00
[FIX] Leaves now actually do matter on Matrix
This commit is contained in:
parent
0ec028d458
commit
53739dd42d
4 changed files with 46 additions and 1 deletions
|
|
@ -192,6 +192,7 @@ end_error:
|
|||
|
||||
/* TODO: CLEAN THAT UP INTO A CREATEDM FUNCTION */
|
||||
mroom_id = ParseeGetBridgedRoom(args, stanza);
|
||||
Log(LOG_DEBUG, "Bridging to '%s'", mroom_id);
|
||||
if (!mroom_id && !room && !XMPPIsParseeStanza(stanza) &&
|
||||
to && *to == '@')
|
||||
{
|
||||
|
|
@ -202,6 +203,7 @@ end_error:
|
|||
ASRegisterUser(args->config, from_matrix);
|
||||
room = ASCreateDM(args->config, from_matrix, to);
|
||||
mroom_id = StrDuplicate(room);
|
||||
Log(LOG_INFO, "Creating a DM to '%s'(%s)", to, mroom_id);
|
||||
if (room)
|
||||
{
|
||||
room_ref = DbCreate(args->db, 3, "rooms", room, "data");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue