Skip to content

Add the plain website address to the protocol string table - #171

Merged
jagerman merged 1 commit into
clientfrom
feat/website-url
Sep 22, 2026
Merged

jagerman merged 1 commit into
clientfrom
feat/website-url

Conversation

@mpretty-cyro

@mpretty-cyro mpretty-cyro commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

session_protocol_strings carries twenty-two addresses under getsession.org — url_faq, url_download, url_support, url_terms_of_service and so on — but not the root. A client that links the website itself has to hard-code that one address beside a call that reads every other one from here, which is the case this closes.

    .url_website              = "https://getsession.org",

The bare address is already in use. The desktop client links it in its about view as both the href and the visible link text, and separately allowlists the bare host as official alongside session.foundation, token. and stake. — so it is established there at two independent layers. It is also one of the four addresses Session 2.0 currently hard-codes; the other three are already in this table.

Appended rather than inserted. The field list is alphabetical and url_website sorts after url_translate, so the two agree: the new field goes at the end of the struct and the offsets of the existing fields do not move.

No trailing slash, matching every other value here.

The table carries twenty-two addresses under getsession.org but not the
root, so a client that links the website itself -- an onboarding footer,
an about screen -- has to hard-code the one address the table cannot give
it, beside a call that reads the rest from here.

Appended rather than inserted: the field list is alphabetical and
`url_website` sorts last, which also leaves the struct layout of the
existing fields untouched.
@mpretty-cyro
mpretty-cyro changed the base branch from dev to client September 21, 2026 21:16
@jagerman
jagerman merged commit 37ebbf1 into client Sep 22, 2026
0 of 2 checks passed
@mpretty-cyro
mpretty-cyro deleted the feat/website-url branch September 22, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants