Commit afe39d7e authored by MBoretto's avatar MBoretto

Fix Chat.php bug

parent 184504bd
......@@ -11,4 +11,15 @@ Which should give you no output, indicating that there are no coding standard er
phpunit
Which should give you no failures or errors. You can ignore any skipped tests as these are for external tools.
\ No newline at end of file
Which should give you no failures or errors. You can ignore any skipped tests as these are for external tools.
Pushing
-------
Development is based on the git flow branching model (see http://nvie.com/posts/a-successful-git-branching-model/ )
If you fix a bug please push in hotfix branch.
If you develop a new feature please create a new branch.
Version
-------
Version number: 0.#version.#hotfix
......@@ -45,7 +45,11 @@ class Chat extends Entity
public function isSingleChat()
{
return ! $this->isGroupChat();
if ($this->id > 0) {
return true;
} else {
return false;
}
}
public function getId()
{
......
......@@ -30,7 +30,7 @@ class Telegram
*
* @var string
*/
protected $version = '0.0.16';
protected $version = '0.16.0';
/**
* Telegram API key
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment