Skip to content

Commit 20c6796

Browse files
committed
Include updates of v1.1.7
1.1.7 - Add support for "user decline" (thumbs down) delivery receipt type 1.1.6 - Fix bug in PHP keystore - Fix SALT random generator (failed if only one bytes was requested and this happened to be '0') - fixed in rugk/Salt@a6874f7
1 parent ac5e8bc commit 20c6796

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# [Threema Gateway](https://gateway.threema.ch/) PHP SDK
22

3-
Version: [1.1.5](https://github.com/rugk/threema-msgapi-sdk-php/releases/tag/1.1.5)
3+
Version: [1.1.7](https://github.com/rugk/threema-msgapi-sdk-php/releases/tag/1.1.7)
44

55
[![Code Climate](https://codeclimate.com/github/rugk/threema-msgapi-sdk-php/badges/gpa.svg)](https://codeclimate.com/github/rugk/threema-msgapi-sdk-php)
66
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/rugk/threema-msgapi-sdk-php/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/rugk/threema-msgapi-sdk-php/?branch=master)

source/Threema/MsgApi/Messages/DeliveryReceipt.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ class DeliveryReceipt extends ThreemaMessage {
1818
private static $receiptTypesToNames = array(
1919
1 => 'received',
2020
2 => 'read',
21-
3 => 'userack');
21+
3 => 'userack',
22+
4 => 'userdec');
2223

2324
/**
2425
* the type of this receipt

source/bootstrap.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626
});
2727

28-
$sdkVersion = '1.1.5';
28+
$sdkVersion = '1.1.7';
2929
define('MSGAPI_SDK_VERSION', $sdkVersion);
3030
$cryptTool = Threema\MsgApi\Tools\CryptTool::getInstance();
3131

0 commit comments

Comments
 (0)