Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit ebce1b7

Browse files
committed
add title for thread
1 parent d7e4cd3 commit ebce1b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

engine/common/thread.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,10 @@ struct Thread : JsonSerializable {
9090
}
9191
}
9292

93+
if (json.isMember("title") && !json["title"].isNull()) {
94+
thread.metadata["title"] = json["title"].asString();
95+
}
96+
9397
return thread;
9498
}
9599

0 commit comments

Comments
 (0)