🐛 Fix message notification missing action uri
This commit is contained in:
parent
c8b1c1ba55
commit
d00917fb39
@ -93,7 +93,8 @@ public class ChatService(
|
|||||||
["room_id"] = room.Id,
|
["room_id"] = room.Id,
|
||||||
["images"] = message.Attachments
|
["images"] = message.Attachments
|
||||||
.Where(a => a.MimeType != null && a.MimeType.StartsWith("image"))
|
.Where(a => a.MimeType != null && a.MimeType.StartsWith("image"))
|
||||||
.Select(a => a.Id).ToList()
|
.Select(a => a.Id).ToList(),
|
||||||
|
["action_uri"] = $"/chat/{room.Id}"
|
||||||
};
|
};
|
||||||
if (sender.Account.Profile is not { Picture: null })
|
if (sender.Account.Profile is not { Picture: null })
|
||||||
metaDict["pfp"] = sender.Account.Profile.Picture.Id;
|
metaDict["pfp"] = sender.Account.Profile.Picture.Id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user