Quick Chat Picker Modal: Replace history after open chat (#6655)
This commit is contained in:
parent
5d5a7beb76
commit
31eaf0e5dd
@ -19,7 +19,7 @@ const QuickChatPickerModal = ({
|
|||||||
const isOpen = Boolean(modal);
|
const isOpen = Boolean(modal);
|
||||||
|
|
||||||
const handleSelectRecipient = useLastCallback((peerId: string) => {
|
const handleSelectRecipient = useLastCallback((peerId: string) => {
|
||||||
openChat({ id: peerId });
|
openChat({ id: peerId, shouldReplaceHistory: true });
|
||||||
closeQuickChatPicker();
|
closeQuickChatPicker();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user