hash_util: Rename _uri functions to _url.

It's 2022 and the WHATWG no longer recognizes the term URI. Everything
is now a URL or a type of URL. Which is great because it's way less
confusing. Details here:
https://url.spec.whatwg.org/
This commit is contained in:
Austin Riba
2022-03-01 10:14:26 -08:00
committed by Tim Abbott
parent b39d47995d
commit b22578f975
27 changed files with 59 additions and 59 deletions

View File

@@ -399,10 +399,10 @@ export class MessageListView {
}
if (message_container.msg.stream) {
message_container.stream_url = hash_util.by_stream_uri(
message_container.stream_url = hash_util.by_stream_url(
message_container.msg.stream_id,
);
message_container.topic_url = hash_util.by_stream_topic_uri(
message_container.topic_url = hash_util.by_stream_topic_url(
message_container.msg.stream_id,
message_container.msg.topic,
);
@@ -672,7 +672,7 @@ export class MessageListView {
message.starred_status = $t({defaultMessage: "Star"});
}
message.url = hash_util.by_conversation_and_time_uri(message);
message.url = hash_util.by_conversation_and_time_url(message);
return {msg: message};
});