mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 10:58:19 +01:00
Message Requests: Add new "Report spam and block" button
This commit is contained in:
committed by
Scott Nonnenberg
parent
20e501d9f1
commit
d4dc9b8e39
@@ -235,6 +235,7 @@ const dataInterface: ClientInterface = {
|
||||
getMessagesNeedingUpgrade,
|
||||
getMessagesWithVisualMediaAttachments,
|
||||
getMessagesWithFileAttachments,
|
||||
getMessageServerGuidsForSpam,
|
||||
|
||||
getJobsInQueue,
|
||||
insertJob,
|
||||
@@ -1531,6 +1532,12 @@ async function getMessagesWithFileAttachments(
|
||||
});
|
||||
}
|
||||
|
||||
function getMessageServerGuidsForSpam(
|
||||
conversationId: string
|
||||
): Promise<Array<string>> {
|
||||
return channels.getMessageServerGuidsForSpam(conversationId);
|
||||
}
|
||||
|
||||
function getJobsInQueue(queueType: string): Promise<Array<StoredJob>> {
|
||||
return channels.getJobsInQueue(queueType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user