MSC3531 - Implementing message hiding pending moderation (#7518)
Signed-off-by: David Teller <davidt@element.io>
This commit is contained in:
parent
c612014936
commit
6b870ba1a9
17 changed files with 345 additions and 22 deletions
|
@ -44,6 +44,14 @@ export interface IBodyProps {
|
|||
permalinkCreator: RoomPermalinkCreator;
|
||||
mediaEventHelper: MediaEventHelper;
|
||||
|
||||
/*
|
||||
If present and `true`, the message has been marked as hidden pending moderation
|
||||
(see MSC3531) **but** the current user can see the message nevertheless (with
|
||||
a marker), either because they are a moderator or because they are the original
|
||||
author of the message.
|
||||
*/
|
||||
isSeeingThroughMessageHiddenForModeration?: boolean;
|
||||
|
||||
// helper function to access relations for this event
|
||||
getRelationsForEvent?: (eventId: string, relationType: string, eventType: string) => Relations;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue