diff --git a/src/Protocol/MessageWriter.cs b/src/Protocol/MessageWriter.cs index a58bd65..29801e4 100644 --- a/src/Protocol/MessageWriter.cs +++ b/src/Protocol/MessageWriter.cs @@ -356,13 +356,8 @@ public void Write (object val) } Type type = val.GetType (); - - // TODO: workaround issue with array being written as variant - // See PR for context: https://github.com/mono/dbus-sharp/pull/58 - if (type.IsArray) - Write (type, val); - else - WriteVariant (type, val); + + WriteVariant (type, val); } public void WriteVariant (Type type, object val)