matrix: fix making message ID

This commit is contained in:
Tulir Asokan
2024-08-27 16:51:57 +03:00
parent 1e39877af3
commit f7be907633
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ func (t *TelegramClient) HandleMatrixMessage(ctx context.Context, msg *bridgev2.
resp = &bridgev2.MatrixMessageResponse{
DB: &database.Message{
ID: ids.MakeMessageID(msg.Portal, tgMessageID),
ID: ids.MakeMessageID(msg.Portal.PortalKey, tgMessageID),
MXID: msg.Event.ID,
Room: msg.Portal.PortalKey,
SenderID: t.userID,