aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-02 13:28:59 +0000
committerFuwn <[email protected]>2021-05-02 13:28:59 +0000
commitb6443087d0b59345fc557d240981faaa4e751ffd (patch)
treec8884cd74fdc95e6a6a5ef2b8373f7caf41da757
parentdocs(cmds): add of2m notice to command: action (diff)
downloadwhirl-b6443087d0b59345fc557d240981faaa4e751ffd.tar.xz
whirl-b6443087d0b59345fc557d240981faaa4e751ffd.zip
refactor(todo): update todo style
-rw-r--r--src/server/cmd/commands/action.rs7
-rw-r--r--src/server/cmd/commands/property/create.rs2
-rw-r--r--src/server/cmd/commands/text.rs3
-rw-r--r--src/server/hub.rs2
4 files changed, 8 insertions, 6 deletions
diff --git a/src/server/cmd/commands/action.rs b/src/server/cmd/commands/action.rs
index e3ed44d..8d1fb0b 100644
--- a/src/server/cmd/commands/action.rs
+++ b/src/server/cmd/commands/action.rs
@@ -2,9 +2,10 @@
// SPDX-License-Identifier: GPL-3.0-only
// TODO: of2m-ify
-// Of2m-ifying isn't much of a priority right now as the whole action ordeal hasn't been fully
-// dissected yet.
-// Once more is known about the inner working of actions, it will be of2m-ified.
+//
+// Of2m-ifying isn't much of a priority right now as the whole action ordeal
+// hasn't been fully dissected yet. Once more is known about the inner working
+// of actions, it will be of2m-ified.
use bytes::{BufMut, BytesMut};
diff --git a/src/server/cmd/commands/property/create.rs b/src/server/cmd/commands/property/create.rs
index ec4de1e..e4c4eb2 100644
--- a/src/server/cmd/commands/property/create.rs
+++ b/src/server/cmd/commands/property/create.rs
@@ -1,7 +1,7 @@
// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective
// SPDX-License-Identifier: GPL-3.0-only
-// TODO: of2m-ify
+// TODO: of2m-ify?
use crate::{
config::Config,
diff --git a/src/server/cmd/commands/text.rs b/src/server/cmd/commands/text.rs
index a286a14..5019fc1 100644
--- a/src/server/cmd/commands/text.rs
+++ b/src/server/cmd/commands/text.rs
@@ -24,7 +24,8 @@ impl Creatable for Text {
// Content
// TODO: Find a way to parse ObjIds.
- // The below byte is suspected to be the sender's short ObjId.
+ //
+ // The below byte is suspected to be the sender's short ObjId.
command.put_i8(0x00);
command.put_u8(self.sender.len() as u8);
diff --git a/src/server/hub.rs b/src/server/hub.rs
index a61e0cc..9c9909e 100644
--- a/src/server/hub.rs
+++ b/src/server/hub.rs
@@ -103,8 +103,8 @@ impl Server for Hub {
}.create()).await?;
trace!("sent buddy list notify to {}: {}", username, buddy.buddy);
}
+ // TODO: Figure out if this is actually even needed.
// ROOMIDRQ => {
- // // TODO: Figure out if this is actually even needed.
// let room = RoomIdRequest::parse(msg.to_vec());
// trace!("received room id request from {}: {}", username, room.room_name);
// debug!("{:?}", create_room_id_request(&room.room_name, 0x00));