From c25e18a363642a0e6c8ccc9ae34b8fc8096aa792 Mon Sep 17 00:00:00 2001 From: "psyc://psyced.org/~lynX" <@> Date: Sat, 30 Jan 2016 00:01:19 +0100 Subject: [PATCH] looks like it is a good idea to activate XMPP_BIDI by default --- place/basic.c | 7 ++++++- place/cryptochat.c | 1 + world/net/include/net.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/place/basic.c b/place/basic.c index 27949f5..22a7531 100644 --- a/place/basic.c +++ b/place/basic.c @@ -81,7 +81,11 @@ sys64764() { }); } -#define puts(string) castmsg(ME, "_notice_application_basic", string, ([])) +#if 0 +# define puts(string) castmsg(ME, "_notice_application_basic", string, ([])) +#else +# define puts(string) call_out(#'castmsg, 2*(delay++), ME, "_notice_application_basic", string, ([])) +#endif #define tell(user,string) sendmsg(user,"_notice_application_basic",string,([])) sys64738(source) { @@ -92,6 +96,7 @@ sys64738(source) { sys42336(source, mc, data, mapping vars) { string t; + int delay = random(4); if (stringp(data)) { sscanf(data, "%s %s", data, t); diff --git a/place/cryptochat.c b/place/cryptochat.c index e2e6f26..02147af 100644 --- a/place/cryptochat.c +++ b/place/cryptochat.c @@ -9,6 +9,7 @@ #define NAME "CryptoChat" #define SECURE +#define PRIVATE // should work like this, but there's a bug to fix here... // when trying to call https://psyced.org:33333/@cryptochat diff --git a/world/net/include/net.h b/world/net/include/net.h index 446c04d..87d337a 100644 --- a/world/net/include/net.h +++ b/world/net/include/net.h @@ -224,6 +224,7 @@ # define PERSISTENT_MASTERS # define NEW_RENDER # define MUCSUC +# define XMPP_BIDI #endif #define GAMMA // code that has left BETA and is in production use @@ -236,7 +237,6 @@ #endif #ifdef EXPERIMENTAL -# define XMPP_BIDI # define USE_AUTOALIAS // fippo's brilliant single-user channel emulation for jabber MUCs // unfortunately it provides no advantages over the old method, yet.