From a210128091caed41dbee48a58525007d2677ad4b Mon Sep 17 00:00:00 2001 From: "tg(x)" <*@tg-x.net> Date: Tue, 17 Jan 2012 10:53:34 +0100 Subject: [PATCH] + --- include/psyc/method.h | 4 ++++ src/templates.h | 2 +- src/variable.c | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/include/psyc/method.h b/include/psyc/method.h index 23da0e4..4ef724f 100644 --- a/include/psyc/method.h +++ b/include/psyc/method.h @@ -27,9 +27,11 @@ typedef enum PsycMethod { PSYC_MC_NOTICE, PSYC_MC_NOTICE_CONTEXT_ENTER, PSYC_MC_NOTICE_CONTEXT_LEAVE, + PSYC_MC_NOTICE_LINK, PSYC_MC_REQUEST, PSYC_MC_REQUEST_CONTEXT_ENTER, PSYC_MC_REQUEST_CONTEXT_LEAVE, + PSYC_MC_REQUEST_LINK, PSYC_MC_STATUS, PSYC_MC_STATUS_CONTEXTS_ENTERED, PSYC_MC_STATUS_HELLO, @@ -57,9 +59,11 @@ typedef union PsycTemplates { PsycString _notice; PsycString _notice_context_enter; PsycString _notice_context_leave; + PsycString _notice_link; PsycString _request; PsycString _request_context_enter; PsycString _request_context_leave; + PsycString _request_link; PsycString _status; PsycString _status_contexts_entered; PsycString _status_hello; diff --git a/src/templates.h b/src/templates.h index da6548d..10f23db 100644 --- a/src/templates.h +++ b/src/templates.h @@ -5,7 +5,7 @@ ._echo_context_leave = _("You leave [_nick_place]"), ._echo_hello = - _("Received hello of psyc://[_pubkey]:g/"), + _("Received hello of psyc://[_key_public]:g/"), ._notice_context_enter = _("[_nick] enters [_nick_place]"), ._notice_context_leave = diff --git a/src/variable.c b/src/variable.c index d972f9b..7b430cc 100644 --- a/src/variable.c +++ b/src/variable.c @@ -62,6 +62,7 @@ const PsycDictInt psyc_methods[] = { { PSYC_C2STRI("_message"), PSYC_MC_MESSAGE }, { PSYC_C2STRI("_notice_context_enter"), PSYC_MC_NOTICE_CONTEXT_ENTER }, { PSYC_C2STRI("_notice_context_leave"), PSYC_MC_NOTICE_CONTEXT_LEAVE }, + { PSYC_C2STRI("_notice_link"), PSYC_MC_NOTICE_LINK }, { PSYC_C2STRI("_notice"), PSYC_MC_NOTICE }, { PSYC_C2STRI("_request_context_enter"), PSYC_MC_REQUEST_CONTEXT_ENTER }, { PSYC_C2STRI("_request_context_leave"), PSYC_MC_REQUEST_CONTEXT_LEAVE },