aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-07-07 18:16:30 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-08-09 10:18:34 +0900
commit7a5b359b8823646ce97cbaf05c251cb04c291466 (patch)
tree293ac4a2bc3942352e0d34b0e437015db4eb0740
parentb0f259c3aa4ca619a6998184d16f9ab2daf5b5f4 (diff)
downloadlibquotient-7a5b359b8823646ce97cbaf05c251cb04c291466.tar.gz
libquotient-7a5b359b8823646ce97cbaf05c251cb04c291466.zip
Rename zero-impact strings
-rw-r--r--.travis.yml2
-rw-r--r--CMakeLists.txt2
-rw-r--r--examples/qmc-example.cpp2
-rw-r--r--lib/connection.cpp5
-rw-r--r--lib/jobs/basejob.cpp4
-rw-r--r--lib/settings.h2
6 files changed, 8 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index d02c5058..6c8d8ceb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -48,7 +48,7 @@ install:
- pushd 3rdparty/libQtOlm
- git clone https://gitlab.matrix.org/matrix-org/olm.git
- popd
-- git clone https://github.com/QMatrixClient/matrix-doc.git
+- git clone https://github.com/quotient-im/matrix-doc.git
- git clone --recursive https://github.com/KitsuneRal/gtad.git
- pushd gtad
- cmake $USE_NINJA -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} .
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 996e76d4..44f4df9c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,7 +81,7 @@ endif()
message( STATUS )
message( STATUS "=============================================================================" )
-message( STATUS " libqmatrixclient Build Information" )
+message( STATUS " libQuotient Build Information" )
message( STATUS "=============================================================================" )
message( STATUS "Version: ${PROJECT_VERSION}, API version: ${API_VERSION}")
if (CMAKE_BUILD_TYPE)
diff --git a/examples/qmc-example.cpp b/examples/qmc-example.cpp
index f649ac3f..4a06d9b8 100644
--- a/examples/qmc-example.cpp
+++ b/examples/qmc-example.cpp
@@ -435,7 +435,7 @@ void QMCTest::setTopic()
void QMCTest::addAndRemoveTag()
{
running.push_back("Tagging test");
- static const auto TestTag = QStringLiteral("org.qmatrixclient.test");
+ static const auto TestTag = QStringLiteral("org.quotient.test");
// Pre-requisite
if (targetRoom->tags().contains(TestTag))
targetRoom->removeTag(TestTag);
diff --git a/lib/connection.cpp b/lib/connection.cpp
index 6cd6ad0b..58d2e01a 100644
--- a/lib/connection.cpp
+++ b/lib/connection.cpp
@@ -95,8 +95,7 @@ public:
DirectChatsMap directChats;
DirectChatUsersMap directChatUsers;
// The below two variables track local changes between sync completions.
- // See also:
- // https://github.com/QMatrixClient/libqmatrixclient/wiki/Handling-direct-chat-events
+ // See https://github.com/quotient-im/libQuotient/wiki/Handling-direct-chat-events
DirectChatsMap dcLocalAdditions;
DirectChatsMap dcLocalRemovals;
std::unordered_map<QString, EventPtr> accountData;
@@ -435,7 +434,7 @@ void Connection::onSyncSuccess(SyncData&& data, bool fromCache)
visit(
*eventPtr,
[this](const DirectChatEvent& dce) {
- // https://github.com/QMatrixClient/libqmatrixclient/wiki/Handling-direct-chat-events
+ // https://github.com/quotient-im/libQuotient/wiki/Handling-direct-chat-events
const auto& usersToDCs = dce.usersToDirectChats();
DirectChatsMap remoteRemovals =
erase_if(d->directChats, [&usersToDCs, this](auto it) {
diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp
index a6471ece..5615736e 100644
--- a/lib/jobs/basejob.cpp
+++ b/lib/jobs/basejob.cpp
@@ -321,7 +321,7 @@ bool checkContentType(const QByteArray& type, const QByteArrayList& patterns)
BaseJob::Status BaseJob::doCheckReply(QNetworkReply* reply) const
{
// QNetworkReply error codes seem to be flawed when it comes to HTTP;
- // see, e.g., https://github.com/QMatrixClient/libqmatrixclient/issues/200
+ // see, e.g., https://github.com/quotient-im/libQuotient/issues/200
// so check genuine HTTP codes. The below processing is based on
// https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
const auto httpCodeHeader =
@@ -576,7 +576,7 @@ QUrl BaseJob::errorUrl() const { return d->errorUrl; }
void BaseJob::setStatus(Status s)
{
// The crash that led to this code has been reported in
- // https://github.com/QMatrixClient/Quaternion/issues/566 - basically,
+ // https://github.com/quotient-im/Quaternion/issues/566 - basically,
// when cleaning up childrent of a deleted Connection, there's a chance
// of pending jobs being abandoned, calling setStatus(Abandoned).
// There's nothing wrong with this; however, the safety check for
diff --git a/lib/settings.h b/lib/settings.h
index 6747631e..427f5494 100644
--- a/lib/settings.h
+++ b/lib/settings.h
@@ -140,7 +140,7 @@ public:
/** \deprecated \sa setToken */
QString accessToken() const;
/** \deprecated Storing accessToken in QSettings is unsafe,
- * see QMatrixClient/Quaternion#181 */
+ * see quotient-im/Quaternion#181 */
void setAccessToken(const QString& accessToken);
Q_INVOKABLE void clearAccessToken();