Adds logging for edit syncs processing
This commit is contained in:
parent
dda3bbc5b3
commit
3bf8adf6e1
4 changed files with 25 additions and 15 deletions
|
@ -15,6 +15,7 @@ import { shouldNeverBeCalled } from '../util/shouldNeverBeCalled';
|
|||
import { useTheme } from '../hooks/useTheme';
|
||||
import { isSameDay } from '../util/timestamp';
|
||||
import { TimelineDateHeader } from './conversation/TimelineDateHeader';
|
||||
import { drop } from '../util/drop';
|
||||
|
||||
export type PropsType = {
|
||||
closeEditHistoryModal: () => unknown;
|
||||
|
@ -132,6 +133,13 @@ export function EditHistoryMessagesModal({
|
|||
};
|
||||
setDisplayLimitById(update);
|
||||
}}
|
||||
onContextMenu={() => {
|
||||
drop(
|
||||
window.navigator.clipboard.writeText(
|
||||
String(currentMessage.timestamp)
|
||||
)
|
||||
);
|
||||
}}
|
||||
platform={platform}
|
||||
showLightbox={closeAndShowLightbox}
|
||||
showSpoiler={(messageId, data) => {
|
||||
|
@ -188,6 +196,13 @@ export function EditHistoryMessagesModal({
|
|||
};
|
||||
setDisplayLimitById(update);
|
||||
}}
|
||||
onContextMenu={() => {
|
||||
drop(
|
||||
window.navigator.clipboard.writeText(
|
||||
String(messageAttributes.timestamp)
|
||||
)
|
||||
);
|
||||
}}
|
||||
platform={platform}
|
||||
showLightbox={closeAndShowLightbox}
|
||||
showSpoiler={(messageId, data) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue