Skip to content

Conversation

lleokaganov
Copy link

hulypulse-client and its first use for the Typing service.

I had to move the hulypulse-client daemon port to 8099 because 8095 was already occupied by something in our system.

Copy link

Connected to Huly®: UBERF-13487

const room = { objectId: object._id, objectClass: object._class }
const typing = { person: me, lastTyping: Date.now() }
updateMyPresence(room, { typing })
setTyping(me)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not correct, objectId is missing, this will show that you are typing in every channel.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Это очень правильное замечание.
Я поменял setTyping и learTyping, передаю (me, String(object._id))
Поменял соответствующие функции.
Но возникла проблема с подпиской. Подписка инициируется из:
platform/plugins/chunter-resources/src/components/ChannelTypingInfo.svelte
Подписка инициируется так:
onMount(() => {
subscribeTyping(handleTypingInfo, String(object._id))
})
Но в этом разделе нет object, и откуда он появляется и где его взять, я не знаю. Тут мне потребуется помощь авторов кода.

return reply.result || ''
}

public async subscribe<T>(key: string, callback: Callback): Promise<() => Promise<boolean>> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

callback: Callback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants