X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=doc%2Fdraft-riikonen-silc-pp-05.nroff;h=b433e3a5d014ae9a9090b9c3836ab55bad930589;hb=da3a876c26b6d697ee6446ad81a8edfff1828cab;hp=818597f5762e630aabd52d2048c2c7aea09ac4ee;hpb=346885ee9466a6f1d5ecc99a5401aa3043acf7c0;p=silc.git diff --git a/doc/draft-riikonen-silc-pp-05.nroff b/doc/draft-riikonen-silc-pp-05.nroff index 818597f5..b433e3a5 100644 --- a/doc/draft-riikonen-silc-pp-05.nroff +++ b/doc/draft-riikonen-silc-pp-05.nroff @@ -1496,11 +1496,42 @@ UTF-8 [RFC2279] encoded. sent currently inside this notify type in [SILC3]. The is of size of 1 byte. + +17 SILC_NOTIFY_TYPE_WATCH + + Sent to indicate change in a watched user. Client can set + nicknames to be watched with SILC_COMMAND_WATCH command, and + receive notifications when they login to network, signoff from + the network or their user mode is changed. This notify type + is used to deliver these notifications. The notify type is + sent directly to the watching client. + + Max Arguments: 4 + Arguments: (1) (2) [] + (3) (4) [] + + The is the user's Client ID which is being watched, + and the is its nickname. If the client just + changed the nickname, then is the new nickname. + The is the user's current user mode. The can be same as the Notify Payload's Notify Type, and is + 16 bit MSB first order value. If provided it may indicate the + notify that occurred for the client. If client logged in to the + network the MUST NOT be present. .in 3 Notify types starting from 16384 are reserved for private notify message types. +Router server which receives SILC_NOTIFY_TYPE_SIGNOFF, +SILC_NOTIFY_TYPE_SERVER_SIGNOFF, SILC_NOTIFY_TYPE_KILLED, +SILC_NOTIFY_TYPE_NICK_CHANGE and SILC_NOTIFY_TYPE_UMODE_CHANGE +MUST chech whether someone in the local cell is watching the nickname +the client has, and send the SILC_NOTIFY_TYPE_WATCH notify to the +watcher, unless the client in case has the SILC_UMODE_REJECT_WATCHING +user mode set. If the watcher client and the client that was +watched is same the notify SHOULD NOT be sent. + .ti 0 2.3.8 Error Payload