diff options
Diffstat (limited to 'webapp/utils')
-rw-r--r-- | webapp/utils/utils.jsx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index 5a47b0a63..73765495c 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -1032,13 +1032,6 @@ export function getDirectChannelName(id, otherId) { return handle; } -export function getDirectChannelNameByUsername(username, otherUsername) { - const id = UserStore.getProfileByUsername(username).id; - const otherId = UserStore.getProfileByUsername(otherUsername).id; - - return getDirectChannelName(id, otherId); -} - // Used to get the id of the other user from a DM channel export function getUserIdFromChannelName(channel) { var ids = channel.name.split('__'); |