diff --git a/src/app/protocol/page.tsx b/src/app/protocol/page.tsx index 506ffab..c5f63ec 100644 --- a/src/app/protocol/page.tsx +++ b/src/app/protocol/page.tsx @@ -27,7 +27,7 @@ export default function Protocol() { { name: "User Agents", desc: "A community-made solution to identify clients by a unique symbol in front of their username.", - curator: "@kostya-zero", + curator: "@MeexReay", href: "/protocol/user-agents", }, { diff --git a/src/app/protocol/user-agents/page.tsx b/src/app/protocol/user-agents/page.tsx index 6ba337f..56e938c 100644 --- a/src/app/protocol/user-agents/page.tsx +++ b/src/app/protocol/user-agents/page.tsx @@ -11,7 +11,6 @@ import { import Text from "@/components/blocks/Text"; import PageTitle from "@/components/blocks/PageTitle"; import Code from "@/components/blocks/Code"; -import InlineCode from "@/components/blocks/InlineCode"; type UserAgent = { client: string; @@ -79,16 +78,19 @@ export default function UserAgents() { User Agents. - User Agents in RAC are implemented by adding an extra Unicode symbol as - a prefix to usernames. For example, a message sent with the Tower + User Agents in RAC are implemented by changing the message regex. + For example, a message sent with the Tower client: {"▲ Hello, world!"} - The symbol in front of the username indicates - that this message was sent using the Tower client. The client should use - regex to parse these messages and determine the client, username, and - message. + It can be just a prefix, or actually a new message structure, + For example, first versions of Mefedroniy, sent messages like this: + + {"banon: Hello, world!"} + + That{"'"}s why the clients should use regex to parse these messages + and determine the client, username, and message.

Known Agents