feat(mobile): route notification taps through mobile screen stack
This commit is contained in:
@@ -61,7 +61,10 @@ export function NotificationController() {
|
||||
const body = message.content
|
||||
? message.content.replace(/[*_~`>#\-\[\]]/g, '').slice(0, 100)
|
||||
: 'Sent an attachment';
|
||||
sendNotification(displayName, body);
|
||||
sendNotification(displayName, body, {
|
||||
channelId: message.channelId ?? message.dmChannelId,
|
||||
spaceId: message.dmChannelId ? '@me' : undefined,
|
||||
});
|
||||
break; // one notification per batch
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user