Page MenuHomePhabricator

D10346.id35248.diff
No OneTemporary

D10346.id35248.diff

diff --git a/keyserver/src/updaters/thread-updaters.js b/keyserver/src/updaters/thread-updaters.js
--- a/keyserver/src/updaters/thread-updaters.js
+++ b/keyserver/src/updaters/thread-updaters.js
@@ -28,9 +28,9 @@
} from 'lib/types/thread-types.js';
import { updateTypes } from 'lib/types/update-types-enum.js';
import { ServerError } from 'lib/utils/errors.js';
+import { canToggleMessagePin } from 'lib/utils/message-pinning-utils.js';
import { promiseAll, ignorePromiseRejections } from 'lib/utils/promises.js';
import { firstLine } from 'lib/utils/string-utils.js';
-import { canToggleMessagePin } from 'lib/utils/toggle-pin-utils.js';
import { validChatNameRegex } from 'lib/utils/validation-utils.js';
import { reportLinkUsage } from './link-updaters.js';
diff --git a/lib/utils/toggle-pin-utils.js b/lib/utils/message-pinning-utils.js
rename from lib/utils/toggle-pin-utils.js
rename to lib/utils/message-pinning-utils.js
diff --git a/native/chat/message.react.js b/native/chat/message.react.js
--- a/native/chat/message.react.js
+++ b/native/chat/message.react.js
@@ -8,7 +8,7 @@
} from 'react-native';
import { messageKey } from 'lib/shared/message-utils.js';
-import { canToggleMessagePin } from 'lib/utils/toggle-pin-utils.js';
+import { canToggleMessagePin } from 'lib/utils/message-pinning-utils.js';
import type { ChatNavigationProp } from './chat.react.js';
import MultimediaMessage from './multimedia-message.react.js';
diff --git a/web/tooltips/tooltip-action-utils.js b/web/tooltips/tooltip-action-utils.js
--- a/web/tooltips/tooltip-action-utils.js
+++ b/web/tooltips/tooltip-action-utils.js
@@ -20,7 +20,7 @@
import { threadPermissions } from 'lib/types/thread-permission-types.js';
import type { ThreadInfo } from 'lib/types/thread-types.js';
import { longAbsoluteDate } from 'lib/utils/date-utils.js';
-import { canToggleMessagePin } from 'lib/utils/toggle-pin-utils.js';
+import { canToggleMessagePin } from 'lib/utils/message-pinning-utils.js';
import LabelTooltip from './label-toolitp.react.js';
import MessageTooltip from './message-tooltip.react.js';

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 12:32 AM (21 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2536224
Default Alt Text
D10346.id35248.diff (2 KB)

Event Timeline