Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Problem with creating a group programatically #194

Open
lsoaresesilva opened this issue Jul 7, 2021 · 1 comment
Open

Problem with creating a group programatically #194

lsoaresesilva opened this issue Jul 7, 2021 · 1 comment
Labels

Comments

@lsoaresesilva
Copy link

lsoaresesilva commented Jul 7, 2021

Hello, first congrats on this component!!

I have created an instance of a Group object and passed it in the triggerOpenChatWindow method. Visually the group chat is presented, but the method groupCreated is not invoked.

I'm missing something?

@lsoaresesilva lsoaresesilva changed the title Problem with creating a group programatically and sending message to it. Problem with creating a group programatically Jul 7, 2021
@rpaschoal
Copy link
Owner

Hi @lsoaresesilva , thank you!

I don't think triggerOpenChatWindow supports receiving a group. Perhaps it is visually working because both User and Group are/implement IChatParticipant. I don't think support for opening a group chat window was ever implemented.

I'm not exactly sure what you are trying to implement but this adapter example might help: https://github.com/rpaschoal/ng-chat-netcoreapp/blob/master/NgChatClient/ClientApp/src/app/signalr-group-adapter.ts

I am not actively pushing new changes to this repository/package but pull requests are welcome.

Cheers

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

No branches or pull requests

2 participants