Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3301147
D10346.id35248.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D10346.id35248.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D10346: [lib/web/native] rename toggle pin utils to be message pinning utils
Attached
Detach File
Event Timeline
Log In to Comment