forked from candy-chat/candy
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The room object returned by Candy.Core.getRoom(roomJid) is incomplete. It's missing:
- a way to get to the DOM pane element
- the information from
Candy.View.Pane.Chat.rooms[roomJid]:- enableScroll: false
- id: "068b38b88f05b8304d9c6dfb06ac2e21"
- mentionsCount: 0
- messageCount: 4
- name: "thing"
- scrollPosition: -1
- targetJid: "[email protected]"
- type: "groupchat"
- user: Candy.Core.ChatUser
- usercount: 1
Related triggerHandler PRs:
- [WIP] candy:core:chat:invite triggerHandler #4
- [WIP] candy:core.presence.room triggerHandler #5
- [WIP] candy:core.presence.leave triggerHandler #6
- [WIP] candy:core.presence.error triggerHandler #7
- [WIP] candy:core:message:chatstate triggerHandler #8
- [WIP] candy:view.presence triggerHandler #9
- [WIP] candy:view.roster.after-context-menu triggerHandler #10
- [WIP] candy:view.roster.context-menu triggerHandler #11
- [WIP] candy:view.message.before-send triggerHandler #12
- [WIP] candy:view.private-room.after-open triggerHandler #13
- [WIP] candy:view.room.after-add triggerHandler #15
- [WIP] candy:view.room.after-hide & candy:view.room.after-show triggerHandlers #17
- [WIP] candy:view.room.after-subject-change triggerHandler #18
- [WIP] candy:view.roster.before-update & candy:view.roster.after-update triggerHandlers #19
Of the above list, PRs 12, 13, 15, 17, 18, and 19 are probably the most relevant as they need information from the Chatroom object that it doesn't currently provide.
This is where the room object is first created: https://github.com/mojolingo/candy/blob/dev/src/view/pane/room.js#L76
Metadata
Metadata
Assignees
Labels
No labels