File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1947,13 +1947,9 @@ impl CommandApi {
1947
1947
1948
1948
/// Get href from a WebxdcInfoMessage which might include a hash holding
1949
1949
/// information about a specific position or state in a webxdc app (optional)
1950
- async fn get_webxdc_href (
1951
- & self ,
1952
- account_id : u32 ,
1953
- instance_msg_id : u32 ,
1954
- ) -> Result < Option < String > > {
1950
+ async fn get_webxdc_href ( & self , account_id : u32 , info_msg_id : u32 ) -> Result < Option < String > > {
1955
1951
let ctx = self . get_context ( account_id) . await ?;
1956
- let message = Message :: load_from_db ( & ctx, MsgId :: new ( instance_msg_id ) ) . await ?;
1952
+ let message = Message :: load_from_db ( & ctx, MsgId :: new ( info_msg_id ) ) . await ?;
1957
1953
Ok ( message. get_webxdc_href ( ) )
1958
1954
}
1959
1955
You can’t perform that action at this time.
0 commit comments