organify-ui 0.3.42 → 0.3.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3157,7 +3157,7 @@ function useChat(options = {}) {
3157
3157
  `query($roomId: ID!) {
3158
3158
  room(id: $roomId) {
3159
3159
  members {
3160
- id userId role muted pinned joinedAt
3160
+ id userId userName role muted pinned joinedAt
3161
3161
  }
3162
3162
  }
3163
3163
  }`,
@@ -3167,7 +3167,7 @@ function useChat(options = {}) {
3167
3167
  const enriched = members.map((m) => {
3168
3168
  if (!m.displayName) {
3169
3169
  const cached = userCache.get(m.userId);
3170
- return { ...m, displayName: cached?.displayName || void 0 };
3170
+ return { ...m, displayName: m.userName || cached?.displayName || void 0 };
3171
3171
  }
3172
3172
  return m;
3173
3173
  });
@@ -4843,5 +4843,5 @@ function useAiInline({ gatewayUrl, workspaceId, projectId }) {
4843
4843
  }
4844
4844
 
4845
4845
  export { AiChatSidebar, Alert, Button, ChatMessages, ChatSidebar, CommandBar, CreateRoomDialog, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, InlineAiButton, Input, Label, MOCK_PROJECTS, MOCK_USERS, MentionPopover, MessageBubble, MessageInput, OrgLoader, OrgLoaderInline, OrganifyChat, ResponsiveDialog, RoomManagementPanel, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TypingIndicatorMock, UserAvatar, UserDisplayName, alertVariants, buttonVariants, generateAutoReplies, getMockMentionOptions, getRoomPermissions, inputVariants, invalidateUserCache, orgLoaderVariants, resolveUser, seedUserCache, typingIndicator, useAiInline, useChat, useResolvedUser };
4846
- //# sourceMappingURL=chunk-TMWQH4P7.js.map
4847
- //# sourceMappingURL=chunk-TMWQH4P7.js.map
4846
+ //# sourceMappingURL=chunk-YZNM4JPJ.js.map
4847
+ //# sourceMappingURL=chunk-YZNM4JPJ.js.map