mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
50_Signalbot: signal-cli 0.12.1
git-svn-id: https://svn.fhem.de/fhem/trunk@27911 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
57738f292e
commit
5562084a3c
@ -1,6 +1,6 @@
|
||||
##############################################
|
||||
#$Id$
|
||||
my $Signalbot_VERSION="3.15";
|
||||
my $Signalbot_VERSION="3.16";
|
||||
# Simple Interface to Signal CLI running as Dbus service
|
||||
# Author: Adimarantis
|
||||
# License: GPL
|
||||
@ -390,7 +390,7 @@ sub Signalbot_Set($@) { #
|
||||
my $ret=Signalbot_CallSG($hash,"deleteGroup",shift @args);
|
||||
return $hash->{helper}{lasterr} if !defined $ret;
|
||||
delete $hash->{helper}{groups}; #Delete the whole hash to clean up removed groups
|
||||
print "deleted" if !defined $hash->{helper}{groups};
|
||||
#print "deleted" if !defined $hash->{helper}{groups};
|
||||
Signalbot_refreshGroups($hash); #and read the back
|
||||
return;
|
||||
} elsif ( $cmd eq "addGroupMembers" || $cmd eq "groupaddMembers") {
|
||||
@ -1168,7 +1168,6 @@ sub Signalbot_AddToChat($$$$$) {
|
||||
$group=~s/#//g;
|
||||
$group=~s/ /_/g;
|
||||
$sender=~s/ /_/g;
|
||||
print "$group:$sender:\n";
|
||||
my $index=$sender;
|
||||
$index="+".$group if $group ne "";
|
||||
my $text=$hash->{helper}{chat}{$index};
|
||||
@ -1459,7 +1458,7 @@ sub Signalbot_CallSG($@) {
|
||||
#sync, identity
|
||||
sub Signalbot_CallSI($@) {
|
||||
my ($hash,$function,$identity,@args) = @_;
|
||||
print "Calling $function for $identity with";
|
||||
#print "Calling $function for $identity with";
|
||||
my $prototype=$identitysignatures{$function};
|
||||
my $path=Signalbot_getIdentityPath($hash,$identity);
|
||||
return if !defined $path;
|
||||
@ -2888,7 +2887,7 @@ For German documentation see <a href="https://wiki.fhem.de/wiki/Signalbot">Wiki<
|
||||
<a id="Signalbot-get-groupProperties"></a>
|
||||
Shows all known properties of the given group, like members, admins and permissions.
|
||||
</li>
|
||||
<li><b>get identityDetails <group></b><br>
|
||||
<li><b>get identityDetails <contact></b><br>
|
||||
<a id="Signalbot-get-identityDetails"></a>
|
||||
Shows all known details of a contacts identity.<br>
|
||||
This includes the safetynumber for verification purposes.
|
||||
|
@ -1,13 +1,13 @@
|
||||
#!/bin/bash
|
||||
#$Id:$
|
||||
SCRIPTVERSION="3.18"
|
||||
SCRIPTVERSION="3.19"
|
||||
# Author: Adimarantis
|
||||
# License: GPL
|
||||
#Install script for signal-cli
|
||||
SIGNALPATH=/opt
|
||||
SIGNALUSER=signal-cli
|
||||
LIBPATH=/usr/lib
|
||||
SIGNALVERSION="0.12.0"
|
||||
SIGNALVERSION="0.12.1"
|
||||
#Check for latest valid version at https://github.com/AsamK/signal-cli/releases
|
||||
LIBRARYVERSION="0.30.0"
|
||||
#Check for latest valid version at https://github.com/exquo/signal-libs-build/releases
|
||||
|
Loading…
Reference in New Issue
Block a user