Generalize notifications' actor id to entity id
This way, we can retrieve channel invite notifications when responding to the invites.
This commit is contained in:
parent
f225039d36
commit
f2d36a47ae
13 changed files with 115 additions and 98 deletions
|
@ -199,17 +199,17 @@ impl NotificationStore {
|
|||
match entry.notification {
|
||||
Notification::ChannelInvitation { .. } => {}
|
||||
Notification::ContactRequest {
|
||||
actor_id: requester_id,
|
||||
sender_id: requester_id,
|
||||
} => {
|
||||
user_ids.push(requester_id);
|
||||
}
|
||||
Notification::ContactRequestAccepted {
|
||||
actor_id: contact_id,
|
||||
responder_id: contact_id,
|
||||
} => {
|
||||
user_ids.push(contact_id);
|
||||
}
|
||||
Notification::ChannelMessageMention {
|
||||
actor_id: sender_id,
|
||||
sender_id,
|
||||
message_id,
|
||||
..
|
||||
} => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue