diff mod_conversejs/mod_conversejs.lua @ 2702:caabb980d1d8

Merge commit
author tmolitor <thilo@eightysoft.de>
date Mon, 24 Apr 2017 20:57:23 +0200
parents 38c66b58b470
children 0ea93da47db9
line wrap: on
line diff
--- a/mod_conversejs/mod_conversejs.lua	Mon Apr 24 20:56:56 2017 +0200
+++ b/mod_conversejs/mod_conversejs.lua	Mon Apr 24 20:57:23 2017 +0200
@@ -26,6 +26,7 @@
 				bosh_service_url = module:http_url("bosh","/http-bind");
 				websocket_url = has_ws and module:http_url("websocket","xmpp-websocket"):gsub("^http", "ws") or nil;
 				authentication = module:get_option_string("authentication") == "anonymous" and "anonymous" or "login";
+				jid = module.host;
 			}));
 		end;
 	}