Skip to content

Commit

Permalink
fix: не работало копирование айди сообщения и беседы
Browse files Browse the repository at this point in the history
  • Loading branch information
danyadev committed Sep 16, 2022
1 parent 7c2f3d6 commit 5bf6c4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ContextMenus/MessageContextMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default {
});
function copyMessageId() {
electron.clipboard.writeText(messageId);
electron.clipboard.writeText(String(messageId));
addSnackbar({
text: getTranslate('im_message_id_copied'),
Expand Down
2 changes: 1 addition & 1 deletion src/components/ContextMenus/PeerContextMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default {
});
function copyPeerId() {
electron.clipboard.writeText(props.peerId);
electron.clipboard.writeText(String(peerId));
addSnackbar({
text: getTranslate('im_peer_id_copied'),
Expand Down

0 comments on commit 5bf6c4a

Please sign in to comment.