X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fcontext.h;h=e76d7acb024a3cf7d676c34b126eb7ef9db42b7d;hb=1ab27069271df6ed100343866c93c0ef2eb2a888;hp=37ce184061791cad5179b058cda0e97209dab51e;hpb=50ff39d933b7178377b3a67f8edc31ffa42ffd28;p=citadel.git diff --git a/citadel/context.h b/citadel/context.h index 37ce18406..e76d7acb0 100644 --- a/citadel/context.h +++ b/citadel/context.h @@ -57,7 +57,7 @@ struct CitContext { StrBuf *sMigrateBuf; /* Our block buffered read buffer */ int client_socket; - int is_local_socket; /* set to 1 if client is on unix domain sock */ + int is_local_client; /* set to 1 if client is running on the same host */ /* Redirect this session's output to a memory buffer? */ StrBuf *redirect_buffer; /* the buffer */ StrBuf *StatusMessage; @@ -91,6 +91,7 @@ struct CitContext { char cs_addr[64]; /* address logged in from */ /* The Internet type of thing */ + char cs_principal_id[256]; /* User principal identity for XMPP, ActivityPub, etc. */ char cs_inet_email[128]; /* Return address of outbound Internet mail */ char cs_inet_other_emails[1024]; /* User's other valid Internet email addresses */ char cs_inet_fn[128]; /* Friendly-name of outbound Internet mail */ @@ -113,11 +114,6 @@ struct CitContext { int disable_exp; /* Set to 1 to disable incoming pages */ int newmail; /* Other sessions increment this */ - /* Masqueraded values in the 'who is online' list */ - char fake_username[USERNAME_SIZE]; - char fake_hostname[64]; - char fake_roomname[ROOMNAMELEN]; - /* Preferred MIME formats */ char preferred_formats[256]; int msg4_dont_decode;