* V1.17 -> 241021 nach Update auf 6.8.0 gibt es bei der Message Location kein "encryptet" mehr (if(isset($message->location->encrypted)) eingebaut)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/*
|
||||
Nenninger N-Tools.de
|
||||
Version 1.16
|
||||
Version 1.17
|
||||
|
||||
*/
|
||||
|
||||
@@ -116,7 +116,7 @@ class UUID {
|
||||
|
||||
|
||||
class hermineConnect{
|
||||
private $VERSION = '1.16';
|
||||
private $VERSION = '1.17';
|
||||
private $MACHINENAME = 'default';
|
||||
private $hermineServer = 'https://api.thw-messenger.de';
|
||||
private $connectorID = "";
|
||||
@@ -472,6 +472,7 @@ class hermineConnect{
|
||||
$message->text = '[Dieser Inhalt wurde gelöscht.]';
|
||||
}
|
||||
}
|
||||
if(isset($message->location->encrypted)){
|
||||
if($message->location->encrypted){
|
||||
$encryptet = $this->_decrypt_aes(base64_encode(hex2bin($message->location->latitude)), $conversation_key, hex2bin($message->location->iv));
|
||||
if($encryptet !== false)
|
||||
@@ -484,6 +485,7 @@ class hermineConnect{
|
||||
else
|
||||
$message->location->longitude = '[!!decrypterror!!]';
|
||||
}
|
||||
}
|
||||
$ret[] = $message;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ Das Speichern von Zugangsdaten auf öffentlichen Servern stellt ein hohes Risiko
|
||||
* V1.14 -> 231220 sendmsg: Text wird jetzt als Markdown formatiert markiert (Parameter "metainfo")
|
||||
* V1.15 -> 240208 Die Logindaten und der Keks werden jetzt von der php Datei aus im Unterverzeichnis /data gespeichert (muss von Hand erstellt werden)
|
||||
* V1.16 -> 240820 neue Funktion "download_file($_id)"
|
||||
* V1.17 -> 241021 nach Update auf 6.8.0 gibt es bei der Message Location kein "encryptet" mehr (if(isset($message->location->encrypted)) eingebaut)
|
||||
|
||||
|
||||
Formatierungen Markdown:
|
||||
|
||||
Reference in New Issue
Block a user