Skip to content

Commit

Permalink
fixup! Add PNI to ServiceCredentials
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Jan 14, 2024
1 parent 1c3ccb2 commit e42688c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libsignal-service-actix/examples/registering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ async fn main() -> Result<(), Error> {
servers,
Some(ServiceCredentials {
aci: None,
pni: None,
phonenumber: phonenumber.clone(),
password,
signaling_key: None,
Expand Down
1 change: 1 addition & 0 deletions libsignal-service-hyper/examples/registering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ fn create_push_service(
SignalServers::Staging, // You might want to switch to Production servers
Some(ServiceCredentials {
aci: None,
pni: None,
phonenumber,
password: Some(password),
signaling_key: None,
Expand Down

0 comments on commit e42688c

Please sign in to comment.