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
XMPP support notification in conference #202
Comments
At the moment using gtalk i noticed that messages are not delivered in gtal mobile app, just gtalk does not support messages to self, so perhaps same situation in your case. As for conference you ca setup it by your own if you know how to do it :) |
We're using our own ejabberd server instance. I will try to look into the code and understand how can I message chat room instead of the selected people. There is also a slight problem, because when it messages someone on the Jabber it gives specific secret URL with session key to immediately login into the system, this can be avoided I guess? |
This url is valid just for one click and expires I ques in 24 hours or so. |
OK, thanks for the info. Don't you think it would be useful for operators to specify separate Jabber ID (GTalk ID) rather than e-mail? It might be different in most cases. E-mail is used for password recovery I guess whilst jabber ID couldn't be used for this. I don't think it's hard to code, just alter users table, add jabber field (just like email field) and add logic to XMPP sender. On the other note I spotted a bug: if you specify for department an e-mail it would send to that e-mail and when you click on the generated link you get:
and after this system is unusable at all (everywhere is a blank page). So as I said before it would be good just to give a direct link and redirect user if he is not authorized, it would help a lot. Also, I've figured out how to add room support (I did quick hack just to test it out, so there is a plenty of room to optimize the code):
|
Thank you for this "hack" I'll implement it in proper way :) |
Actually, could you attach your modified file. Like in general I'm not very familiar with this xmpp stuff :), so your help is really appreciated :) |
sure, here is my modified file (dunno how to attach here, so I'm posting to pastebin): the file is lib/core/lhxmp/lhxmp.php: |
In general now you should not have to change core at all. Let me know how it goes or just create another issue :) |
hi, after testing it seems its not working how it should. bot joins the conference but is not sending the link, could you look into it? |
Sorry, but i tested standard mesasge send and it worked. You will have to help me to debug in that case what i missed there. I just do not have an environment to test. |
Ok, |
Fixed group part. |
Seems to be working fine and pasting the link when there is assigned group for department in the conference. I'm sorry that I didn't help you to debug this, been busy a bit. The only thing I noticed that Save button on XMPP settings no longer working for some reason, I had to alter via database (e.g. change a template of message for example). Can you check this? Many thanks. |
Sorry, but on my enviroment all works. Perhaps you forgot to click "Use standard XMPP service" |
it's set of course. I'm on the latest revision. What it could be ? After clicking save it brings back the old settings for some reason. No errors in php_errors.log |
No idea, |
Just one idea,
|
there was missing design/defaulttheme/tpl/lhkernel/ directory in my branch for some reason.. thats why it didnt work out, now fixed. |
hi, we've installed livehelperchat it seems to be very nice and working.
is there any chance to implement conference notification mode?
e.g.
somechat@conference.server.org
so bot comes there and messages with a link that someone is waiting for support (maybe just give regular link where all chats are).
currently i was able to get notifications through our own jabber server but it was bit complicated because i had to specify in my account (in livehelperchat) as an e-mail my jabber ID (notifications field in the XMPP settings seems to be ignored).
would be good if bot could stay on the server and just wait for an event and message into the room, actually making such bot is not a huge deal i think.
anyways, would love to hear your thoughts..
The text was updated successfully, but these errors were encountered: