File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
src/server/api/memobase_server/controllers/modal/roleplay Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -46,16 +46,16 @@ async def process_messages(
46
46
if not interest .ok ():
47
47
return interest
48
48
interest_data = interest .data ()
49
- # if interest_data["action"] != "new_topic":
50
- # await append_user_status(
51
- # user_id,
52
- # project_id,
53
- # ContanstTable.roleplay_plot_status,
54
- # {
55
- # "interest": interest_data,
56
- # },
57
- # )
58
- # return Promise.resolve(ProactiveTopicData(action="continue"))
49
+ if interest_data ["action" ] != "new_topic" :
50
+ await append_user_status (
51
+ user_id ,
52
+ project_id ,
53
+ ContanstTable .roleplay_plot_status ,
54
+ {
55
+ "interest" : interest_data ,
56
+ },
57
+ )
58
+ return Promise .resolve (ProactiveTopicData (action = "continue" ))
59
59
latests_statuses = await get_user_statuses (
60
60
user_id , project_id , type = ContanstTable .roleplay_plot_status
61
61
)
You can’t perform that action at this time.
0 commit comments