diff --git a/roomserver/api/alias.go b/roomserver/api/alias.go index 217bc02e5..cb78f726a 100644 --- a/roomserver/api/alias.go +++ b/roomserver/api/alias.go @@ -64,7 +64,7 @@ type GetAliasesForRoomIDResponse struct { // GetCreatorIDForAliasRequest is a request to GetCreatorIDForAlias type GetCreatorIDForAliasRequest struct { - // The alias we want to find creator for + // The alias we want to find the creator of Alias string `json:"alias"` } diff --git a/roomserver/storage/room_aliases_table.go b/roomserver/storage/room_aliases_table.go index a40203383..3ed20e8e3 100644 --- a/roomserver/storage/room_aliases_table.go +++ b/roomserver/storage/room_aliases_table.go @@ -26,7 +26,7 @@ CREATE TABLE IF NOT EXISTS roomserver_room_aliases ( alias TEXT NOT NULL PRIMARY KEY, -- Room ID the alias refers to room_id TEXT NOT NULL, - -- ID of the user created this alias + -- User ID of the creator of this alias creator_id TEXT NOT NULL );