From 2e226bfb47b2ce46d749effca8e7ed9c2563643f Mon Sep 17 00:00:00 2001 From: panpawn Date: Sat, 30 Jul 2016 15:41:31 -0400 Subject: [PATCH] PROTOCOL: Document |uhtml| and |uhtmlchange| (#2656) --- PROTOCOL.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/PROTOCOL.md b/PROTOCOL.md index 1c761020f2..2616e99239 100644 --- a/PROTOCOL.md +++ b/PROTOCOL.md @@ -128,6 +128,15 @@ represented by a space), and the rest of the string being their username. > We received an HTML message, which should be sanitized and displayed > directly in the room's log. +`|uhtml|NAME|HTML` + +> We recieved an HTML message (NAME) that can change what it's displaying, +> this is used in things like our Polls system, for example. + +`|uhtmlchange|NAME|HTML` + +> Changes the HTML display of the `|uhtml|` message named (NAME). + `|join|USER` or `|j|USER` > `USER` joined the room.