zerver: Update comments with "private message" or "PM".

Updates comments/doc-strings that use "private message" or "PM" in
files in the `/zerver` directory to instead use "direct message".
This commit is contained in:
Lauryn Menard
2023-06-19 16:42:11 +02:00
committed by Tim Abbott
parent b75c99b893
commit d3f7cfccbc
20 changed files with 71 additions and 64 deletions

View File

@@ -113,7 +113,7 @@ def detect_narrowed_window(
if "stream" in request.GET:
try:
# TODO: We should support stream IDs and PMs here as well.
# TODO: We should support stream IDs and direct messages here as well.
narrow_stream_name = request.GET.get("stream")
assert narrow_stream_name is not None
(narrow_stream, ignored_sub) = access_stream_by_name(user_profile, narrow_stream_name)