aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2019-06-01 17:09:26 +0200
committerhrxi <hrrrxi@gmail.com>2019-06-01 17:13:33 +0200
commitc245f7e34ae63c83c59996109208fafa971b9dd4 (patch)
tree6e37ad74210b95694883bc0825d3cea3fed147f9 /plugins
parent6a1f057de2d446e6b9c21f377cf0ec79930369c0 (diff)
downloaddino-c245f7e34ae63c83c59996109208fafa971b9dd4.tar.gz
dino-c245f7e34ae63c83c59996109208fafa971b9dd4.zip
Fix a couple of typos and double imports
Diffstat (limited to 'plugins')
-rw-r--r--plugins/http-files/src/file_provider.vala2
-rw-r--r--plugins/omemo/src/stream_module.vala1
-rw-r--r--plugins/openpgp/src/in_file_processor.vala2
-rw-r--r--plugins/openpgp/src/plugin.vala2
-rw-r--r--plugins/openpgp/src/stream_flag.vala3
5 files changed, 4 insertions, 6 deletions
diff --git a/plugins/http-files/src/file_provider.vala b/plugins/http-files/src/file_provider.vala
index 06b20e92..b7d18e36 100644
--- a/plugins/http-files/src/file_provider.vala
+++ b/plugins/http-files/src/file_provider.vala
@@ -103,7 +103,7 @@ public class FileProvider : Dino.FileProvider, Object {
file_transfer.input_stream = yield request.send_async(null);
- foreach (IncommingFileProcessor processor in stream_interactor.get_module(FileManager.IDENTITY).incomming_processors) {
+ foreach (IncomingFileProcessor processor in stream_interactor.get_module(FileManager.IDENTITY).incoming_processors) {
if (processor.can_process(file_transfer)) {
processor.process(file_transfer);
}
diff --git a/plugins/omemo/src/stream_module.vala b/plugins/omemo/src/stream_module.vala
index 30f8c04c..555fd68a 100644
--- a/plugins/omemo/src/stream_module.vala
+++ b/plugins/omemo/src/stream_module.vala
@@ -1,6 +1,5 @@
using Gee;
using Xmpp;
-using Xmpp;
using Xmpp.Xep;
using Signal;
diff --git a/plugins/openpgp/src/in_file_processor.vala b/plugins/openpgp/src/in_file_processor.vala
index 568315f9..918f824a 100644
--- a/plugins/openpgp/src/in_file_processor.vala
+++ b/plugins/openpgp/src/in_file_processor.vala
@@ -2,7 +2,7 @@ using Dino.Entities;
namespace Dino.Plugins.OpenPgp {
-public class InFileProcessor : IncommingFileProcessor, Object {
+public class InFileProcessor : IncomingFileProcessor, Object {
public bool can_process(FileTransfer file_transfer) {
return file_transfer.file_name.has_suffix("pgp") || file_transfer.mime_type == "application/pgp-encrypted";
}
diff --git a/plugins/openpgp/src/plugin.vala b/plugins/openpgp/src/plugin.vala
index adf2ecc7..1d4f5203 100644
--- a/plugins/openpgp/src/plugin.vala
+++ b/plugins/openpgp/src/plugin.vala
@@ -30,7 +30,7 @@ public class Plugin : Plugins.RootInterface, Object {
Manager.start(app.stream_interactor, db);
app.stream_interactor.get_module(FileManager.IDENTITY).add_outgoing_processor(new OutFileProcessor(app.stream_interactor));
- app.stream_interactor.get_module(FileManager.IDENTITY).add_incomming_processor(new InFileProcessor());
+ app.stream_interactor.get_module(FileManager.IDENTITY).add_incoming_processor(new InFileProcessor());
internationalize(GETTEXT_PACKAGE, app.search_path_generator.get_locale_path(GETTEXT_PACKAGE, LOCALE_INSTALL_DIR));
}
diff --git a/plugins/openpgp/src/stream_flag.vala b/plugins/openpgp/src/stream_flag.vala
index 8593fa9d..df598625 100644
--- a/plugins/openpgp/src/stream_flag.vala
+++ b/plugins/openpgp/src/stream_flag.vala
@@ -1,7 +1,6 @@
using Gee;
using Xmpp;
-using Xmpp;
namespace Dino.Plugins.OpenPgp {
@@ -19,4 +18,4 @@ public class Flag : XmppStreamFlag {
public override string get_id() { return IDENTITY.id; }
}
-} \ No newline at end of file
+}