signal-cli icon indicating copy to clipboard operation
signal-cli copied to clipboard

DBus interface method overloads do not work well

Open GooseBravo101 opened this issue 10 months ago • 0 comments

After several rebuilds of signal-cli, I noticed that the client app, written in python, gets confused about overloaded methods of signal-cli, such as sendMessage. Sometimes it says that the sendMessage(message<s>, attachments<as>, recipient<s>) -> timestamp<x> method does not exist, sometimes it's sendMessage(message<s>, attachments<as>, recipients<as>) -> timestamp<x>.

Some rationale on documentation side: D-Bus does not support method overloading, only one method or signal should exist with each name.

I propose splitting such overloaded methods so they have different names

GooseBravo101 avatar Mar 04 '25 11:03 GooseBravo101