getCommonTopicForUsers static method

String getCommonTopicForUsers(
  1. PublicUser userA,
  2. PublicUser userB
)

Computes a deterministic, sorted common topic string for direct messages between two users to ensure both participants connect to the exact same channel.

Implementation

static String getCommonTopicForUsers(PublicUser userA, PublicUser userB) {
  return LocalitySocialCloudChat.getCommonTopicForUsers(userA, userB);
}