gameboy Posted August 18, 2017 Author Report Share Posted August 18, 2017 (edited) @elexismessage of the day. yes, i send "not hello" in pidgin. But I can't get the word "not hello" in the lobby. Edited August 18, 2017 by gameboy Quote Link to comment Share on other sites More sharing options...
elexis Posted August 18, 2017 Report Share Posted August 18, 2017 @gameboy So it's not the pidgin message but your ejabberd server config. search for "hello" in /etc/ejabberd/ejabberd.cfg Quote Link to comment Share on other sites More sharing options...
gameboy Posted August 18, 2017 Author Report Share Posted August 18, 2017 @elexisI got a patch, maybe it can solve this problem, but I don't know how to use it, please tell me how to use it specifically? https://www.ejabberd.im/node/4857 Quote Link to comment Share on other sites More sharing options...
elexis Posted August 18, 2017 Report Share Posted August 18, 2017 Do _not_ use this patch (https://www.ejabberd.im/node/4857). Just tell me if you have "hello" in your ejabberd config at /etc/ejabberd/ejabberd.cfg Quote Link to comment Share on other sites More sharing options...
gameboy Posted August 18, 2017 Author Report Share Posted August 18, 2017 @elexis I didn't set it,I didn't set 'hello' in ejabberd.cfg, I just kept its default setting, thank you. I just sent the letter to the player who logged in via pidgin, and then I had a warning message. Quote Link to comment Share on other sites More sharing options...
gameboy Posted August 19, 2017 Author Report Share Posted August 19, 2017 (edited) @elexis I got this patch, but I don't know how to use it, please tell me how to use it, thanks. https://github.com/processone/ejabberd/blob/master/src/mod_announce.erl BTW:Is there a specific solution to this problem? Edited August 19, 2017 by gameboy Quote Link to comment Share on other sites More sharing options...
elexis Posted August 19, 2017 Report Share Posted August 19, 2017 That's not a patch, that's the file changed by the patch linked in that ticket. That patch does the opposite of what you want, so again: do not apply the patch. Quote Link to comment Share on other sites More sharing options...
gameboy Posted August 19, 2017 Author Report Share Posted August 19, 2017 @elexisPlease help me solve these problems. Please take time to provide a patch to solve this problem. thank you. Quote Link to comment Share on other sites More sharing options...
gameboy Posted August 20, 2017 Author Report Share Posted August 20, 2017 @elexisToday, I tested it again, warning again: WARNING: JavaScript warning: gui/lobby/lobby.js line 233 Script value conversion check failed: v.isString() || v.isNumber() (got type undefined) WARNING: ({type:"chat", text:"hi", level:"private-message", time:1503220655}) WARNING: JavaScript warning: gui/lobby/lobby.js line 233 Script value conversion check failed: v.isString() || v.isNumber() (got type undefined) Quote Link to comment Share on other sites More sharing options...
elexis Posted August 20, 2017 Report Share Posted August 20, 2017 Ah, so now it's "hi", not "hello". Was that an "announcement" or "message of the day"? gameboy, when this issue is fixed, you will still get "hi" and "hello", just a message box instead of a warning. Quote Link to comment Share on other sites More sharing options...
gameboy Posted August 20, 2017 Author Report Share Posted August 20, 2017 @elexisMy friend , 'message of the day'. I wonder when you will solve this problem? Please forgive me for being so worried. Quote Link to comment Share on other sites More sharing options...
elexis Posted August 20, 2017 Report Share Posted August 20, 2017 The problem only appears to people who administrate a multiplayer lobby (almost noone) and who sends a "message of the day" (almost noone of that subset), so got an ocean of bigger fishs to fry. Stopping to send messages you don't want to receive is probably the thing you want But I agree that implementing "message of the day support" is to address any claims that our code is broken, so committed support of these messages in r20005. You will now get a message box instead of an error. If you don't want those, don't send the messages. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.