Skip to content

Commit c24c534

Browse files
committed
space tag changed to a single letter
1 parent f243ad0 commit c24c534

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/src/bin/space-cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ async fn handle_commands(cli: &SpaceCli, command: Commands) -> Result<(), Client
905905
match event.space() {
906906
None if anchor => event
907907
.tags
908-
.insert(0, NostrTag(vec!["space".to_string(), space.clone()])),
908+
.insert(0, NostrTag(vec!["s".to_string(), space.clone()])),
909909
Some(tag) => {
910910
if tag != space {
911911
return Err(ClientError::Custom(format!(

wallet/src/nostr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl NostrEvent {
4848
.iter()
4949
.find(|tag| {
5050
if tag.0.len() >= 1 {
51-
tag.0[0] == "space"
51+
tag.0[0] == "s"
5252
} else {
5353
false
5454
}

0 commit comments

Comments
 (0)