Commit 4b639e9a authored by Édouard Denommée's avatar Édouard Denommée

typo: registred -> registered

Associated daemon changes linked:
https://review.jami.net/c/ring-daemon/+/16111

Change-Id: I08619bec553eeab0e14f75cdef974977c9e3aead
parent 70313229
......@@ -442,7 +442,7 @@ void RingClientUWP::MainPage::OnregistrationStateRegistered(const std::string& a
{
/* do not connect those delegates before initial registration on dht is fine.
Otherwise your going to mess with the wizard */
RingD::instance->nameRegistered += ref new RingClientUWP::NameRegistered(this, &RingClientUWP::MainPage::OnnameRegistred);
RingD::instance->nameRegistered += ref new RingClientUWP::NameRegistered(this, &RingClientUWP::MainPage::OnnameRegistered);
RingD::instance->volatileDetailsChanged += ref new RingClientUWP::VolatileDetailsChanged(this, &MainPage::OnvolatileDetailsChanged);
}
......@@ -451,7 +451,7 @@ void RingClientUWP::MainPage::OncallPlaced(Platform::String ^callId)
}
void
MainPage::OnnameRegistred(bool status, String ^accountId)
MainPage::OnnameRegistered(bool status, String ^accountId)
{
showLoadingOverlay(false, false);
}
......@@ -472,4 +472,4 @@ void RingClientUWP::MainPage::OnFullScreenToggled(bool state)
_innerSplitView_->IsPaneOpen = isSmartPanelOpen;
_innerSplitView_->CompactPaneLength = 60;
}
}
\ No newline at end of file
}
......@@ -96,7 +96,7 @@ private:
void OnregistrationStateUnregistered(const std::string& accountId);
void OnregistrationStateRegistered(const std::string& accountId);
void OncallPlaced(Platform::String ^callId);
void OnnameRegistred(bool status, String ^accountId);
void OnnameRegistered(bool status, String ^accountId);
void OnvolatileDetailsChanged(const std::string &accountId, const std::map<std::string, std::string>& details);
};
}
......@@ -189,7 +189,7 @@ SmartPanel::SmartPanel()
RingD::instance->newBuddyNotification += ref new RingClientUWP::NewBuddyNotification(this, &RingClientUWP::Views::SmartPanel::OnnewBuddyNotification);
RingD::instance->nameRegistered += ref new RingClientUWP::NameRegistered(this, &SmartPanel::OnnameRegistred);
RingD::instance->nameRegistered += ref new RingClientUWP::NameRegistered(this, &SmartPanel::OnnameRegistered);
_networkConnectivityNotificationRow_->Height = Utils::hasInternet() ? 0 : 32;
......@@ -197,7 +197,7 @@ SmartPanel::SmartPanel()
}
void
SmartPanel::OnnameRegistred(bool status, String ^accountId)
SmartPanel::OnnameRegistered(bool status, String ^accountId)
{
updatePageContent();
}
......@@ -1165,7 +1165,7 @@ void RingClientUWP::Views::SmartPanel::OnregisteredNameFound(RingClientUWP::Look
MSG_("INVALID_NAME LOOKUP RESULT");
std::regex sha1_regex("[0-9a-f]{40}");
if (std::regex_match(name, sha1_regex)) {
/* first we check if some contact is registred with this ring id */
/* first we check if some contact is registered with this ring id */
auto contactAlreadyRecorded = contactListModel->findContactByRingId(Utils::toPlatformString(name));
if (contactAlreadyRecorded) {
/* delete the contact added recently */
......
......@@ -127,7 +127,7 @@ private:
void _addAccountYes__Click(Platform::Object^ sender, RoutedEventArgs^ e);
void OnregistrationStateErrorGeneric(const std::string& accountId);
void _PINTextBox__GotFocus(Platform::Object^ sender, RoutedEventArgs^ e);
void OnnameRegistred(bool status, String ^accountId);
void OnnameRegistered(bool status, String ^accountId);
void OnregistrationStateRegistered(const std::string& accountId);
void OncallPlaced(Platform::String ^callId);
void OncontactDataModified(Platform::String ^account, Contact^ contact);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment