Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
TelegramBot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
TelegramBot
Commits
afe39d7e
Commit
afe39d7e
authored
Sep 03, 2015
by
MBoretto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Chat.php bug
parent
184504bd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
CONTRIBUTING.md
CONTRIBUTING.md
+12
-1
Chat.php
src/Entities/Chat.php
+5
-1
Telegram.php
src/Telegram.php
+1
-1
No files found.
CONTRIBUTING.md
View file @
afe39d7e
...
...
@@ -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
src/Entities/Chat.php
View file @
afe39d7e
...
...
@@ -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
()
{
...
...
src/Telegram.php
View file @
afe39d7e
...
...
@@ -30,7 +30,7 @@ class Telegram
*
* @var string
*/
protected
$version
=
'0.
0.16
'
;
protected
$version
=
'0.
16.0
'
;
/**
* Telegram API key
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment