Fix safety number viewer for contact modal

This commit is contained in:
Josh Perez
2021-10-07 17:45:58 -04:00
committed by GitHub
parent 3a722bb70f
commit b866e1a23d
4 changed files with 4 additions and 27 deletions
-16
View File
@@ -805,7 +805,6 @@ export const actions = {
showArchivedConversations,
showChooseGroupMembers,
showInbox,
showSafetyNumberInConversation,
startComposing,
startNewConversationFromPhoneNumber,
startSettingGroupMetadata,
@@ -1777,21 +1776,6 @@ function updateConversationModelSharedGroups(
};
}
function showSafetyNumberInConversation(
conversationId: string
): ThunkAction<void, RootStateType, unknown, NoopActionType> {
return dispatch => {
window.Whisper.events.trigger(
'showSafetyNumberInConversation',
conversationId
);
dispatch({
type: 'NOOP',
payload: null,
});
};
}
function showInbox(): ShowInboxActionType {
return {
type: 'SHOW_INBOX',