Spam Reporting UI changes
This commit is contained in:
parent
e031d136a1
commit
8387f938eb
88 changed files with 2711 additions and 807 deletions
|
@ -12,6 +12,7 @@ import {
|
|||
} from '../messages/helpers';
|
||||
import { isDirectConversation, isGroupV2 } from './whatTypeOfConversation';
|
||||
import { getE164 } from './getE164';
|
||||
import type { ConversationType } from '../state/ducks/conversations';
|
||||
|
||||
export function getMessageIdForLogging(
|
||||
message: Pick<
|
||||
|
@ -27,7 +28,7 @@ export function getMessageIdForLogging(
|
|||
}
|
||||
|
||||
export function getConversationIdForLogging(
|
||||
conversation: ConversationAttributesType
|
||||
conversation: ConversationAttributesType | ConversationType
|
||||
): string {
|
||||
if (isDirectConversation(conversation)) {
|
||||
const { serviceId, pni, id } = conversation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue