Skip to content

Commit a97609e

Browse files
committed
fix(oauth): use ruma::time::instant for wasm compatibility
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
1 parent 2f7d2b3 commit a97609e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • crates/matrix-sdk/src/authentication/oauth/qrcode

crates/matrix-sdk/src/authentication/oauth/qrcode/grant.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
use std::time::{Duration, Instant};
15+
use std::time::Duration;
1616

1717
use eyeball::SharedObservable;
1818
use futures_core::Stream;
@@ -24,6 +24,7 @@ use matrix_sdk_base::{
2424
},
2525
};
2626
use oauth2::VerificationUriComplete;
27+
use ruma::time::Instant;
2728
use url::Url;
2829
#[cfg(doc)]
2930
use vodozemac::ecies::CheckCode;

0 commit comments

Comments
 (0)