diff --git a/.gitmodules b/.gitmodules
index ee56d57b2..052fbbe91 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -100,6 +100,3 @@
 [submodule "Telegram/ThirdParty/cld3"]
 	path = Telegram/ThirdParty/cld3
 	url = https://github.com/google/cld3.git
-[submodule "Telegram/ThirdParty/sonnet"]
-	path = Telegram/ThirdParty/sonnet
-	url = https://github.com/KDE/sonnet.git
diff --git a/Telegram/ThirdParty/sonnet b/Telegram/ThirdParty/sonnet
deleted file mode 160000
index b04df9c47..000000000
--- a/Telegram/ThirdParty/sonnet
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit b04df9c47f52778270558b9f2a6c7c3399db4cb9
diff --git a/Telegram/lib_spellcheck b/Telegram/lib_spellcheck
index 03e3271ce..a774ea43c 160000
--- a/Telegram/lib_spellcheck
+++ b/Telegram/lib_spellcheck
@@ -1 +1 @@
-Subproject commit 03e3271ce28932f8c2a8eb331a5d2fe17d23a62b
+Subproject commit a774ea43cb3a9ed8759d2083d326da4da86751c3
diff --git a/cmake b/cmake
index 7267c0305..4a261d8c5 160000
--- a/cmake
+++ b/cmake
@@ -1 +1 @@
-Subproject commit 7267c030542b1033854fda228eb45b765db78e59
+Subproject commit 4a261d8c524a218c43c49dc424b7919c7d0d0285