Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not open a chat window via notifications dropdown #209

Closed
julianlam opened this issue Aug 27, 2013 · 1 comment
Closed

Can not open a chat window via notifications dropdown #209

julianlam opened this issue Aug 27, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@julianlam
Copy link
Member

As in title.

href is set to #, so not quite sure how to handle this one yet.

@julianlam
Copy link
Member Author

It may be possible to just add notifications like this:

notifications.create(notifText, 5, "javascript:require(['chat'], function(chat) { chat.open(chatId); });" ...

Not that that's a particularly elegant way of doing it...... but it might work.

chat.open, in this case, is just a helper method one would add into the chat client-side module to create a new chat window and bring it to the foreground.

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

No branches or pull requests

2 participants