Skip to content

Commit

Permalink
Include updates of v1.1.7
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rugk committed Mar 22, 2016
1 parent ac5e8bc commit 20c6796
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Threema Gateway](https://gateway.threema.ch/) PHP SDK

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

[![Code Climate](https://codeclimate.com/github/rugk/threema-msgapi-sdk-php/badges/gpa.svg)](https://codeclimate.com/github/rugk/threema-msgapi-sdk-php)
[![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)
Expand Down
3 changes: 2 additions & 1 deletion source/Threema/MsgApi/Messages/DeliveryReceipt.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ class DeliveryReceipt extends ThreemaMessage {
private static $receiptTypesToNames = array(
1 => 'received',
2 => 'read',
3 => 'userack');
3 => 'userack',
4 => 'userdec');

/**
* the type of this receipt
Expand Down
2 changes: 1 addition & 1 deletion source/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}
});

$sdkVersion = '1.1.5';
$sdkVersion = '1.1.7';
define('MSGAPI_SDK_VERSION', $sdkVersion);
$cryptTool = Threema\MsgApi\Tools\CryptTool::getInstance();

Expand Down

0 comments on commit 20c6796

Please sign in to comment.